From d33eb0b4bee02478ab5250a4c4d2bfc608fde5e3 Mon Sep 17 00:00:00 2001 From: Eric Gillespie Date: Fri, 5 Dec 2014 21:08:40 -0800 Subject: [PATCH] Terminate last arg in proxy argv n popsbr.c:parse_proxy(). This bug seems to have existed since this code was born. I guess others have been lucky? --- uip/popsbr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uip/popsbr.c b/uip/popsbr.c index 15d03f0b..ccc76c7c 100644 --- a/uip/popsbr.c +++ b/uip/popsbr.c @@ -467,6 +467,7 @@ parse_proxy(char *proxy, char *host) } else if (!isspace(*cur)) *c++ = *cur; } + *c = '\0'; *++p = NULL; return pargv; } -- 2.56.0