From baa72f144c15896a40c794b967854f0508459a20 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 12 Mar 2022 16:45:47 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_10c --- WWW/Library/Implementation/HTMIME.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'WWW/Library/Implementation/HTMIME.c') diff --git a/WWW/Library/Implementation/HTMIME.c b/WWW/Library/Implementation/HTMIME.c index cce691c2..fde89a64 100644 --- a/WWW/Library/Implementation/HTMIME.c +++ b/WWW/Library/Implementation/HTMIME.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTMIME.c,v 1.101 2021/06/29 22:01:12 tom Exp $ + * $LynxId: HTMIME.c,v 1.102 2022/03/12 14:47:02 tom Exp $ * * MIME Message Parse HTMIME.c * ================== @@ -2394,7 +2394,7 @@ void HTmmdecode(char **target, if ((buf = typeMallocn(char, strlen(source) + 1)) == 0) outofmem(__FILE__, "HTmmdecode"); - for (s = source, u = buf; *s;) { + for (s = source, *(u = buf) = '\0'; *s;) { if (!strncasecomp(s, "=?ISO-2022-JP?B?", 16)) { base64 = 1; } else { -- cgit 1.4.1-2-gfad0