Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317388 Details for
Bug 418425
<media-gfx/gimp-2.6.12-r2: script-fu Buffer Overflow (CVE-2012-2763)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CVE-2012-2763.diff
gimp-CVE-2012-2763.diff (text/plain), 711 bytes, created by
mancha
on 2012-07-06 04:36:52 UTC
(
hide
)
Description:
CVE-2012-2763.diff
Filename:
MIME Type:
Creator:
mancha
Created:
2012-07-06 04:36:52 UTC
Size:
711 bytes
patch
obsolete
>Fix for CVE-2012-2763 for GIMP 2.6.x by mancha. Based on commit >76155d79df8d497. Thanks to muks, Kevin, and Ankh for identifying >the relevant code change. > >Ref: Fixed potential buffer overflow in readstr_upto(). > >================================================ > >--- a/plug-ins/script-fu/tinyscheme/scheme.c.orig 2012-06-30 >+++ b/plug-ins/script-fu/tinyscheme/scheme.c 2012-06-30 >@@ -1727,7 +1727,8 @@ static char *readstr_upto(scheme *sc, ch > c = inchar(sc); > len = g_unichar_to_utf8(c, p); > p += len; >- } while (c && !is_one_of(delim, c)); >+ } while ((p - sc->strbuff < sizeof(sc->strbuff)) && >+ (c && !is_one_of(delim, c))); > > if(p==sc->strbuff+2 && c_prev=='\\') > *p = '\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 418425
:
317388
|
317392