From 181f39b885093d00a904fbb4c47625b1bbecf164 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Tue, 22 May 2001 17:03:11 +0000 Subject: Add a new patch (which seems to avoid a null pointer dereference). Bump PORTREVISION accordingly. Change the port maintainer. PR: 27536 Submitted by: both former and new maintainers :) --- net/gtk+licq/files/patch-src::functions.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/gtk+licq/files/patch-src::functions.cpp (limited to 'net/gtk+licq/files/patch-src::functions.cpp') diff --git a/net/gtk+licq/files/patch-src::functions.cpp b/net/gtk+licq/files/patch-src::functions.cpp new file mode 100644 index 000000000000..c8ee50072d05 --- /dev/null +++ b/net/gtk+licq/files/patch-src::functions.cpp @@ -0,0 +1,15 @@ +--- src/functions.cpp 2001/04/23 21:07:27 1.97 ++++ src/functions.cpp 2001/05/17 08:34:51 1.98 +@@ -989,7 +989,11 @@ + { + unsigned long *uinptr; + GtkWidget *parent=NULL; +- ++ ++ if (widget == NULL) { ++ return(0); ++ } ++ + for (;;) + { + if (GTK_IS_MENU (widget)) { -- cgit v1.2.3