Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 83135 Details for
Bug 127592
mail-mta/ssmtp-2.61-r2 stabilization request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
stack variable not initized before strdup patch
ssmtp.patch (text/plain), 1.08 KB, created by
Xuefer
on 2006-03-25 22:53:32 UTC
(
hide
)
Description:
stack variable not initized before strdup patch
Filename:
MIME Type:
Creator:
Xuefer
Created:
2006-03-25 22:53:32 UTC
Size:
1.08 KB
patch
obsolete
>Only in ssmtp-2.61: arpadate.o >Only in ssmtp-2.61: base64.o >Common subdirectories: ssmtp-2.61-orig/md5auth and ssmtp-2.61/md5auth >Only in ssmtp-2.61: run >Only in ssmtp-2.61: ssmtp >diff -u ssmtp-2.61-orig/ssmtp.c ssmtp-2.61/ssmtp.c >--- ssmtp-2.61-orig/ssmtp.c 2006-03-26 14:29:31.000000000 +0800 >+++ ssmtp-2.61/ssmtp.c 2006-03-26 14:37:56.000000000 +0800 >@@ -463,22 +463,15 @@ > die("from_format() -- snprintf() failed"); > } > } >- else if(gecos) { >- if(snprintf(buf, BUF_SZ, "\"%s\" <%s>", gecos, str) == -1) { >- die("from_format() -- snprintf() failed"); >- } >- } >- else { >- if(snprintf(buf, BUF_SZ, "%s", str) == -1) { >- die("from_format() -- snprintf() failed"); >- } >+ } >+ if(gecos) { >+ if(snprintf(buf, BUF_SZ, "\"%s\" <%s>", gecos, str) == -1) { >+ die("from_format() -- snprintf() failed"); > } > } > else { >- if(gecos) { >- if(snprintf(buf, BUF_SZ, "\"%s\" <%s>", gecos, str) == -1) { >- die("from_format() -- snprintf() failed"); >- } >+ if(snprintf(buf, BUF_SZ, "%s", str) == -1) { >+ die("from_format() -- snprintf() failed"); > } > } > >Only in ssmtp-2.61: ssmtp.o
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 127592
: 83135 |
86184