The Samba-Bugzilla – Attachment 3173 Details for
Bug 5305
3.2.0-pre2 won't join ad
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Potential fix for the crash
look (text/plain), 446 bytes, created by
Volker Lendecke
on 2008-03-14 17:30:01 UTC
(
hide
)
Description:
Potential fix for the crash
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2008-03-14 17:30:01 UTC
Size:
446 bytes
patch
obsolete
>diff --git a/source/lib/replace/snprintf.c b/source/lib/replace/snprintf.c >index 9f8a765..a174dcf 100644 >--- a/source/lib/replace/snprintf.c >+++ b/source/lib/replace/snprintf.c >@@ -1264,7 +1264,7 @@ static int add_cnk_list_entry(struct pr_chunk_x **list, > VA_COPY(ap2, ap); > ret = vsnprintf(NULL, 0, format, ap2); > va_end(ap2); >- if (ret <= 0) return ret; >+ if (ret < 0) return ret; > > (*ptr) = (char *)malloc(ret+1); > if (!*ptr) return -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 5305
:
3159
|
3162
|
3164
|
3165
|
3169
| 3173 |
3176
|
3188
|
3189