The Samba-Bugzilla – Attachment 1398 Details for
Bug 3018
mysql passdb backend broken in 3.0.20rc2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to lib/talloc.c, function talloc_vasprintf_append
talloc.diff (text/plain), 530 bytes, created by
Peter Rindfuss
on 2005-08-24 10:16:44 UTC
(
hide
)
Description:
patch to lib/talloc.c, function talloc_vasprintf_append
Filename:
MIME Type:
Creator:
Peter Rindfuss
Created:
2005-08-24 10:16:44 UTC
Size:
530 bytes
patch
obsolete
>--- talloc.c 2005-07-28 15:19:45.000000000 +0200 >+++ talloc.c.new 2005-08-24 18:13:21.000000000 +0200 >@@ -989,7 +989,6 @@ > > static char *talloc_vasprintf_append(char *s, const char *fmt, va_list ap) > { >- struct talloc_chunk *tc; > int len, s_len; > va_list ap2; > >@@ -997,11 +996,9 @@ > return talloc_vasprintf(NULL, fmt, ap); > } > >- tc = talloc_chunk_from_ptr(s); >- > VA_COPY(ap2, ap); > >- s_len = tc->size - 1; >+ s_len = strlen(s); > len = vsnprintf(NULL, 0, fmt, ap2); > > s = talloc_realloc(NULL, s, char, s_len + len+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 3018
: 1398