diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-06-10 00:37:08 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-06-10 00:37:08 +0000 |
commit | 15b5916ed82c8de48b85d7b7afe670cb00e79796 (patch) | |
tree | b7891e7faa9ffaa27911b367d0551a38d03a53a6 /WWW/Library/Implementation/HTString.c | |
parent | c2036b385da968e77c3abbefa44cb4c88eff9512 (diff) | |
download | lynx-snapshots-15b5916ed82c8de48b85d7b7afe670cb00e79796.tar.gz |
snapshot of project "lynx", label v2-9-0dev_6j
Diffstat (limited to 'WWW/Library/Implementation/HTString.c')
-rw-r--r-- | WWW/Library/Implementation/HTString.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTString.c b/WWW/Library/Implementation/HTString.c index 2c663546..78054d7b 100644 --- a/WWW/Library/Implementation/HTString.c +++ b/WWW/Library/Implementation/HTString.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTString.c,v 1.79 2020/01/23 01:10:36 tom Exp $ + * $LynxId: HTString.c,v 1.81 2021/06/09 20:16:06 tom Exp $ * * Case-independent string comparison HTString.c * @@ -624,7 +624,7 @@ typedef enum { PUBLIC_IF_FIND_LEAKS char *StrAllocVsprintf(char **pstr, size_t dst_len, const char *fmt, - va_list * ap) + va_list *ap) { #ifdef HAVE_VASPRINTF /* @@ -1102,6 +1102,8 @@ void HTAddXpand(char **result, int number, const char *parameter) { + if (parameter == NULL) + parameter = ""; if (number > 0) { const char *last = HTAfterCommandArg(command, number - 1); const char *next = last; |