CVSROOT:        /cvs
Module name:    ports
Changes by:     aw...@cvs.openbsd.org   2016/04/18 11:44:40

Modified files:
        net/libproxy   : Makefile 
Added files:
        net/libproxy/patches: patch-libproxy_modules_ignore_ip_cpp 

Log message:
Add a patch to prevent a null pointer dereference in net/libproxy under Gnome

Qt5 started to use libproxy and this exposed a crashing bug on OpenBSD
when using Qt5 applications on Gnome 3.

Here's a sample backtrace:
https://gist.github.com/mulander/c03997ae7e3fe4e30af0d4f2ce2965f0

The issue is caused by an unguarded dereference of ign_ip.

Other parts of the code properly expect that sockaddr_from_string
might return null and guard against it.

Adding a proper guard prevents a segfault both in OpenBSD
www/otter-browser and devel/zeal.

Issue reported upstream in:
https://github.com/libproxy/libproxy/issues/24

OK zhuk@ aja@

Reply via email to