awolk d6ec3a8302 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@
2016-04-18 17:44:40 +00:00
..