summaryrefslogtreecommitdiff
path: root/misc/gnome-utils
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-11-30 06:10:22 +0000
committermycroft <mycroft@pkgsrc.org>2000-11-30 06:10:22 +0000
commit9221a05ef287449bea4eb9bcc58a8f5c2e75eb88 (patch)
treeb97950f960cbf83ee906a1e870729b47df41f13e /misc/gnome-utils
parenta6481816bd2f1b700a51b375c2692e7235f60bac (diff)
downloadpkgsrc-9221a05ef287449bea4eb9bcc58a8f5c2e75eb88.tar.gz
Fix an obvious null pointer derefence when the gdict preferences dialog is used
before a lookup is done.
Diffstat (limited to 'misc/gnome-utils')
-rw-r--r--misc/gnome-utils/files/patch-sum3
-rw-r--r--misc/gnome-utils/patches/patch-ah13
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/gnome-utils/files/patch-sum b/misc/gnome-utils/files/patch-sum
index 531917d0870..abe46e44384 100644
--- a/misc/gnome-utils/files/patch-sum
+++ b/misc/gnome-utils/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.7 2000/11/30 05:53:50 mycroft Exp $
+$NetBSD: patch-sum,v 1.8 2000/11/30 06:10:22 mycroft Exp $
MD5 (patch-aa) = bfa1d85780d82c9cd7bc756fbc5c061d
MD5 (patch-ab) = 98f0a2dd5b3b9a773c324cadcce64b8b
@@ -7,3 +7,4 @@ MD5 (patch-ad) = c86d8550effe1b66182f0793443bfe4b
MD5 (patch-ae) = 91bd72e2f686a2dda5c0d2c7de4b4b3b
MD5 (patch-af) = f143c4c8bc7b0aefdcb84b49c22278f5
MD5 (patch-ag) = cd0cc5eaae30fb9061f4a6ff858e2f97
+MD5 (patch-ah) = 78c3a98ddb3792851617692557fa8342
diff --git a/misc/gnome-utils/patches/patch-ah b/misc/gnome-utils/patches/patch-ah
new file mode 100644
index 00000000000..41555765002
--- /dev/null
+++ b/misc/gnome-utils/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2000/11/30 06:10:23 mycroft Exp $
+
+--- gdictsrc/gdict-defbox.c.orig Fri May 19 18:57:46 2000
++++ gdictsrc/gdict-defbox.c Thu Nov 30 06:07:30 2000
+@@ -284,7 +284,7 @@
+ gchar *word;
+
+ if (context != defbox->context ||
+- strcmp (defbox->database, gdict_pref.database))
++ (defbox->database && strcmp (defbox->database, gdict_pref.database)))
+ {
+ defbox->context = context;
+