Summary: | net-misc/rdesktop segfaults w/ x11-libs/libX11-1.1.1-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rod MacCallum <rod> |
Component: | Current packages | Assignee: | Chris Gianelloni (RETIRED) <wolf31o2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ch.loehr, corporate_gadfly, jakub, mjolnir, mlspamcb, pbrzezinka |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Fix for segfault caused within rdesktop-1.5.0
patch for new ebuild 1.5.0-r2 |
Description
Rod MacCallum
2007-04-13 16:33:14 UTC
x11-libs/libX11 version? x11-libs/libX11-1.1.1-r1 Hmm, I guess it works when you downgrade to 1.1.1, right? Yes, downgrading to the unstable 1.1.1 seems to solve the issue. From: https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/102922 Specifically comment 9: https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/102922/comments/9 The solution provided in comment 9 works for me. I will attach a diff against the 1.5.0 sources and also a diff to get an updated 1.5.0-r2 ebuild. (In reply to comment #6) > > The solution provided in comment 9 works for me. I will attach a diff against > the 1.5.0 sources and also a diff to get an updated 1.5.0-r2 ebuild. > oops... bugzilla autolinked comment 9 to comment#9 inside this issue (it doesn't even exist yet). Please disregard that. Created attachment 116463 [details, diff]
Fix for segfault caused within rdesktop-1.5.0
Fix for segfault caused within rdesktop-1.5.0 as a result of libX11-1.1.1-r1
Created attachment 116465 [details, diff]
patch for new ebuild 1.5.0-r2
I can confirm the attached fix works as rdesktop-1.5.0-r2 in my environment, in which I use it quite heavily. (In reply to comment #10) > I can confirm the attached fix works as rdesktop-1.5.0-r2 in my environment, in > which I use it quite heavily. > Same for me. I use the fix since a few days and have encountered no problems so far. I have had the problem and the patch fix it too. echo >x11-libs/libX11-1.1.1 >> /etc/portage/package.mask emerge libX11 rdesktop Ehh, no. Fixing rdesktop and using the patch above is much preferred to allowing a security vulnerable version of libX11 on your machine. This should be taken care of soon. The ubuntu path replaces the cx * g_bpp /8 .., it will segfault again btw when the XCreateImage decides to return a NULL again...., So a path should also include a check for the XCreateImage result value imho. I have accepted wolf31o2's offer of maintainership and committed rdesktop-1.5.0-r2 to the tree. Please test, and if no issues are found, I will file a stabilization request in 30 days. 1.5.0-r2 has been working fine for me. |