$OpenBSD: patch-src_util_c,v 1.1.1.1 2013/04/20 17:06:31 sthen Exp $

Avoid bogus pointer error in getline

--- src/util.c.orig	Sat Apr 20 18:03:09 2013
+++ src/util.c	Sat Apr 20 18:03:24 2013
@@ -137,7 +137,7 @@ void patlist_add(struct patlist **dst, const char *s)
 void patlist_add_file(struct patlist **dst, const char *fn)
 {
 	FILE *fd;
-	char *line;
+	char *line = NULL;
 	size_t linelen = 0;
 	size_t len;
 	
