diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2022-03-12 16:45:47 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2022-03-12 16:45:47 +0000 |
commit | baa72f144c15896a40c794b967854f0508459a20 (patch) | |
tree | 6ab4d8ff00ebf399e72f2dcbc3491c0538b5403a /WWW/Library/Implementation/HTMIME.c | |
parent | d9c9f31fcbfa46070186e3f43a76fac3786fd824 (diff) | |
download | lynx-snapshots-baa72f144c15896a40c794b967854f0508459a20.tar.gz |
snapshot of project "lynx", label v2-9-0dev_10c
Diffstat (limited to 'WWW/Library/Implementation/HTMIME.c')
-rw-r--r-- | WWW/Library/Implementation/HTMIME.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |