mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-17 00:12:44 -04:00
16 lines
526 B
Plaintext
16 lines
526 B
Plaintext
$NetBSD: patch-ae,v 1.6 2014/04/24 14:48:44 schmonz Exp $
|
|
|
|
Avoid segfault when parsing configuration file under NetBSD.
|
|
|
|
--- src/config.c.orig 2013-12-13 17:54:37.000000000 +0000
|
|
+++ src/config.c
|
|
@@ -316,7 +316,7 @@ int
|
|
load_config( const char *where, int pseudo )
|
|
{
|
|
conffile_t cfile;
|
|
- store_conf_t *store, **storeapp = &stores;
|
|
+ store_conf_t *store = NULL, **storeapp = &stores;
|
|
channel_conf_t *channel, **channelapp = &channels;
|
|
group_conf_t *group, **groupapp = &groups;
|
|
string_list_t *chanlist, **chanlistapp;
|