Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523156 - net-libs/libvncserver-0.9.9 - x11vnc crash when client connect (buffer overflow detected), when ipv6 is disabled on host
Summary: net-libs/libvncserver-0.9.9 - x11vnc crash when client connect (buffer overfl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-18 18:40 UTC by David Flogeras
Modified: 2014-09-19 15:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix segfault in ipv4 only builds (libvncserver-fix-ipv4-only.patch,2.59 KB, patch)
2014-09-18 18:41 UTC, David Flogeras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2014-09-18 18:40:41 UTC
If you compile without ipv6 support, the currently stable libvncserver will segfault when a new connection attempt is made (I currently use it via kde's krfb).  I found this bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=972618

It seems they fixed it in git a long time ago, but have yet to do a new release which incorporates the change.  I've taken the two commits from Comment 23 in the RH bug and created a patch file which seems to apply cleanly on 0.9.9.  Could we please get it added?

Reproducible: Always
Comment 1 David Flogeras 2014-09-18 18:41:18 UTC
Created attachment 385062 [details, diff]
Patch to fix segfault in ipv4 only builds
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-09-19 15:45:43 UTC
Thanks, fixed in CVS.

+  19 Sep 2014; Michael Palimaka <kensington@gentoo.org>
+  +files/libvncserver-0.9.9-segfault.patch, +libvncserver-0.9.9-r3.ebuild:
+  Backport patch from upstream solving a segfault when built with USE="-ipv6"
+  wrt bug #523156.