openbsd-ports/net/pidgin/patches/patch-pidgin_gtknotify_c
jasper 36ba1270db - update pidgin to 2.9.0
* includes a security fix for SA45037 Pidgin "gdk_pixbuf__gif_image_load()" Denial of Service Weakness

from brad (MAINTAINER)
2011-07-22 06:44:45 +00:00

21 lines
464 B
Plaintext

$OpenBSD: patch-pidgin_gtknotify_c,v 1.13 2011/07/22 06:44:45 jasper Exp $
--- pidgin/gtknotify.c.orig Wed Jun 22 03:32:30 2011
+++ pidgin/gtknotify.c Wed Jul 13 01:09:31 2011
@@ -1222,7 +1222,16 @@ uri_command(const char *command, gboolean sync)
g_error_free(error);
}
else
+#ifdef HAVE_SIGNAL_H
+ {
+ extern int real_status;
+
+ if (WIFEXITED(real_status))
+ ret = WEXITSTATUS(real_status);
+ }
+#else
ret = status;
+#endif
}
else
{