$NetBSD: patch-bc,v 1.5 2008/02/05 17:00:36 drochner Exp $

--- stream/url.c.orig	2007-10-07 21:49:26.000000000 +0200
+++ stream/url.c
@@ -328,6 +328,7 @@ url_escape_string(char *outbuf, const ch
 		}
 	}
 	
+	tmp = NULL;
 	while(i < len) {
 		// look for the next char that must be kept
 		for  (j=i;j<len;j++) {
