Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 303887 Details for
Bug 406487
x11-libs/libXaw3d-1.6.1: Fix use-after-free in DestroyAllIM (was: app-text/gv-3.7.3 crashes on exit)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-Fix-use-after-free-in-DestroyAllIM.patch (text/plain), 1.15 KB, created by
Matt Turner
on 2012-03-01 21:53:36 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2012-03-01 21:53:36 UTC
Size:
1.15 KB
patch
obsolete
>From f435c05c64bc20557d901170b76f6bce8506ed48 Mon Sep 17 00:00:00 2001 >From: Matt Turner <mattst88@gmail.com> >Date: Thu, 1 Mar 2012 16:48:23 -0500 >Subject: [PATCH libXaw3d] Fix use-after-free in DestroyAllIM > >Fixes segmentation fault when closing gv. > >Found at http://gitorious.org/xaw3d/xaw3d/commit/23b3ca50395f180cba4a923eb8827dcc961629da > >Fixes: https://bugs.gentoo.org/show_bug.cgi?id=406487 >Signed-off-by: Matt Turner <mattst88@gmail.com> >--- >Original author of this patch is unknown. If you know, let me know and >I'll fix the attribution. > > src/XawIm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/src/XawIm.c b/src/XawIm.c >index 82a94b1..00562b5 100644 >--- a/src/XawIm.c >+++ b/src/XawIm.c >@@ -320,12 +320,12 @@ DestroyAllIM(XawVendorShellExtPart *ve) > /* > * Close Input Method > */ >- CloseIM(ve); > if (!XFindContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext, > (XPointer*)&contextErrData)) { > if (contextErrData) XtFree((char *)contextErrData); > } > XDeleteContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext); >+ CloseIM(ve); > ve->im.xim = NULL; > > /* >-- >1.7.3.4 >
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 406487
:
303883
|
303885
| 303887