The Samba-Bugzilla – Attachment 3501 Details for
Bug 5698
Unable to initiate share with userid, get *** glibc detected *** /usr/sbin/smbd: free(): invalid pointer: 0xb7fcb540 ***
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 989 bytes, created by
Jeremy Allison
on 2008-08-21 12:23:31 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-08-21 12:23:31 UTC
Size:
989 bytes
patch
obsolete
>diff --git a/source/lib/util_str.c b/source/lib/util_str.c >index 5f26cc8..9f952ab 100644 >--- a/source/lib/util_str.c >+++ b/source/lib/util_str.c >@@ -2008,6 +2008,7 @@ bool str_list_sub_basic( char **list, const char *smb_name, > > bool str_list_substitute(char **list, const char *pattern, const char *insert) > { >+ TALLOC_CTX *ctx = list; > char *p, *s, *t; > ssize_t ls, lp, li, ld, i, d; > >@@ -2030,7 +2031,7 @@ bool str_list_substitute(char **list, const char *pattern, const char *insert) > t = *list; > d = p -t; > if (ld) { >- t = (char *) SMB_MALLOC(ls +ld +1); >+ t = TALLOC_ARRAY(ctx, char, ls +ld +1); > if (!t) { > DEBUG(0,("str_list_substitute: " > "Unable to allocate memory")); >@@ -2038,7 +2039,7 @@ bool str_list_substitute(char **list, const char *pattern, const char *insert) > } > memcpy(t, *list, d); > memcpy(t +d +li, p +lp, ls -d -lp +1); >- SAFE_FREE(*list); >+ TALLOC_FREE(*list); > *list = t; > ls += ld; > s = t +d +li;
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 5698
:
3486
|
3492
|
3493
|
3499
| 3501