From: Rick L Bird <nveid@yahoo.com>
Date: Thu, 5 May 2011 21:28:08 +0000 (-0400)
Subject: Author: captdeaf@gmail.com
X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=68305db7e9b16e60537f82b7a1a1c2a103617ef3;p=cobramush.git

Author: captdeaf@gmail.com
<captdeaf@gmail.com@ba372814-4f39-11de-9ad6-1127a62b9fcd>
Date:   Fri Dec 18 20:56:20 2009 +0000

    Fixing a WalkerBug: Forgot to null terminate a buffer.
IssueID #135
---

diff --git a/src/funlist.c b/src/funlist.c
index 3df4e27..e13ec47 100644
--- a/src/funlist.c
+++ b/src/funlist.c
@@ -1745,6 +1745,7 @@ FUNCTION(fun_remove)
     return;
   r = lbuff;
   safe_str(args[0], lbuff, &r);
+  *r = '\0';
 
   s = args[1];
   while ((r = split_token(&s, sep)) != NULL) {