Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 360584 Details for
Bug 487536
x11-base/xorg-server: CVE-2013-4396: Use after free in Xserver handling of ImageText requests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xorg-server-1.14.3-CVE-2013-4396.patch
xorg-server-1.14.3-CVE-2013-4396.patch (text/plain), 1.18 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2013-10-10 15:01:22 UTC
(
hide
)
Description:
xorg-server-1.14.3-CVE-2013-4396.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2013-10-10 15:01:22 UTC
Size:
1.18 KB
patch
obsolete
>--- xorg-server-1.14.3/dix/dixfonts.c >+++ xorg-server-1.14.3/dix/dixfonts.c >@@ -1425,6 +1425,7 @@ > GC *pGC; > unsigned char *data; > ITclosurePtr new_closure; >+ ITclosurePtr old_closure; > > /* We're putting the client to sleep. We need to > save some state. Similar problem to that handled >@@ -1436,12 +1437,14 @@ > err = BadAlloc; > goto bail; > } >+ old_closure = c; > *new_closure = *c; > c = new_closure; > > data = malloc(c->nChars * itemSize); > if (!data) { > free(c); >+ c = old_closure; > err = BadAlloc; > goto bail; > } >@@ -1452,6 +1455,7 @@ > if (!pGC) { > free(c->data); > free(c); >+ c = old_closure; > err = BadAlloc; > goto bail; > } >@@ -1464,6 +1468,7 @@ > FreeScratchGC(pGC); > free(c->data); > free(c); >+ c = old_closure; > err = BadAlloc; > goto bail; > }
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 487536
: 360584