Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 204853 Details for
Bug 285854
<dev-libs/newt-0.52.10-r1 doReflow() Heap-based buffer overflow (CVE-2009-2905)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
newt-CVE-2009-2905.patch
newt-CVE-2009-2905.patch (text/plain), 466 bytes, created by
Robert Buchholz (RETIRED)
on 2009-09-21 18:32:17 UTC
(
hide
)
Description:
newt-CVE-2009-2905.patch
Filename:
MIME Type:
Creator:
Robert Buchholz (RETIRED)
Created:
2009-09-21 18:32:17 UTC
Size:
466 bytes
patch
obsolete
>diff -up newt-0.52.10/textbox.c.orig newt-0.52.10/textbox.c >--- newt-0.52.10/textbox.c.orig 2008-07-30 14:42:55.000000000 +0200 >+++ newt-0.52.10/textbox.c 2009-09-21 14:59:24.000000000 +0200 >@@ -179,7 +179,7 @@ static void doReflow(const char * text, > > if (resultPtr) { > /* XXX I think this will work */ >- result = malloc(strlen(text) + (strlen(text) / width) + 2); >+ result = malloc(strlen(text) + (strlen(text) / (width - 1)) + 2); > *result = '\0'; > }
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 285854
: 204853