Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197586 Details for
Bug 277459
net-irc/xchat-xsys-2.2.0-r1: some overflow issues. crashes.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix
xchat-xsys-2.2.0-arrayerrors.patch (text/plain), 747 bytes, created by
Emopig
on 2009-07-11 20:46:41 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Emopig
Created:
2009-07-11 20:46:41 UTC
Size:
747 bytes
patch
obsolete
>diff -Nru xsys-2.2.0/xsys.c xsys-2.2.0-patched/xsys.c >--- xsys-2.2.0/xsys.c 2007-07-13 21:38:51.000000000 +0100 >+++ xsys-2.2.0-patched/xsys.c 2009-07-11 21:23:14.000000000 +0100 >@@ -509,7 +509,7 @@ > > static int netstream_cb(char *word[], char *word_eol[], void *userdata) > { >- char netstream[bsize], mag_r[3], mag_s[5]; >+ char netstream[bsize], mag_r[5], mag_s[5]; > unsigned long long bytes_recv, bytes_sent, bytes_recv_p, bytes_sent_p; > struct timespec ts = {1, 0}; > >@@ -719,7 +719,7 @@ > flat_format_output("length", length, format); > else > format_output("length", length, format); >- strncat(title, length, bsize); >+ strncat(title, length, bsize - 1); > > if ((action != 0) && (long)userdata) > xchat_printf(ph, "You are %s", title);
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 277459
:
197584
| 197586 |
310487