The Samba-Bugzilla – Attachment 2948 Details for
Bug 5021
free gets invalid pointer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
5021.diff (text/plain), 541 bytes, created by
Volker Lendecke
on 2007-10-20 13:44:02 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2007-10-20 13:44:02 UTC
Size:
541 bytes
patch
obsolete
>diff --git a/source/libsmb/libsmbclient.c b/source/libsmb/libsmbclient.c >index 80b09fa..374a86a 100644 >--- a/source/libsmb/libsmbclient.c >+++ b/source/libsmb/libsmbclient.c >@@ -2644,7 +2644,11 @@ smbc_opendir_ctx(SMBCCTX *context, > return NULL; > } > >- ip_list = &server_addr; >+ ip_list = memdup(&server_addr, sizeof(server_addr)); >+ if (ip_list == NULL) { >+ errno = ENOMEM; >+ return NULL; >+ } > count = 1; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5021
: 2948