summaryrefslogtreecommitdiff
path: root/mail/isync/patches
diff options
context:
space:
mode:
authortonio <tonio>2007-01-18 18:26:21 +0000
committertonio <tonio>2007-01-18 18:26:21 +0000
commitdc5bc868a4ae10b349a5c97ba25db4ee238fb5fe (patch)
treefc0d246bd87855aa87a765071cec99a2d6e2076f /mail/isync/patches
parent1cad717612ae11ec5128c9764b8e04da3cabd9c3 (diff)
downloadpkgsrc-dc5bc868a4ae10b349a5c97ba25db4ee238fb5fe.tar.gz
Avoid segfault when parsing configuration file under netbsd
Diffstat (limited to 'mail/isync/patches')
-rw-r--r--mail/isync/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/isync/patches/patch-ae b/mail/isync/patches/patch-ae
new file mode 100644
index 00000000000..75e1617f07e
--- /dev/null
+++ b/mail/isync/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.5 2007/01/18 18:26:21 tonio Exp $
+
+--- src/config.c.orig 2006-11-01 07:54:31.000000000 +0100
++++ src/config.c
+@@ -252,7 +252,7 @@ int
+ load_config( const char *where, int pseudo )
+ {
+ conffile_t cfile;
+- store_conf_t *store, **storeapp = &stores, **sptarg;
++ store_conf_t *store = NULL, **storeapp = &stores, **sptarg;
+ channel_conf_t *channel, **channelapp = &channels;
+ group_conf_t *group, **groupapp = &groups;
+ string_list_t *chanlist, **chanlistapp;