updated for version 7.0053
diff --git a/src/misc1.c b/src/misc1.c
index 3125dfe..20890bb 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3628,6 +3628,7 @@
 	    if (pp != NULL)
 	    {
 		p = pp;
+		p[len] = NUL;
 		*mustfree = TRUE;
 	    }
 	}