Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 247264 Details for
Bug 337279
app-admin/sysklogd uses strcpy with overlapping regions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix from debian bug thread
syslogd.c.patch (text/plain), 404 bytes, created by
Yuri Karaban
on 2010-09-14 14:12:03 UTC
(
hide
)
Description:
fix from debian bug thread
Filename:
MIME Type:
Creator:
Yuri Karaban
Created:
2010-09-14 14:12:03 UTC
Size:
404 bytes
patch
obsolete
>diff -Nur sysklogd-1.5.orig/syslogd.c sysklogd-1.5/syslogd.c >--- sysklogd-1.5.orig/syslogd.c 2007-07-04 13:04:01.000000000 -0600 >+++ sysklogd-1.5/syslogd.c 2010-07-02 08:12:56.000000000 -0600 >@@ -2392,7 +2392,7 @@ > if (*p == '\0' || *p == '#') > continue; > #if CONT_LINE >- strcpy(cline, p); >+ memmove(cline, p, strlen(p)+1); > #endif > for (p = strchr(cline, '\0'); isspace(*--p);); > #if CONT_LINE
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 337279
: 247264