diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-09 15:41:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-14 08:32:45 +0200 |
commit | 47dd957daff9199daa5fabfc557fe8c36d61f375 (patch) | |
tree | 4be473c2a0c5187372cbb9844f4e53269a344110 /src/Makefile.inc | |
parent | c4ea71ae3235cca8c6837f48664d587e52eb32d2 (diff) | |
download | curl-47dd957daff9199daa5fabfc557fe8c36d61f375.tar.gz |
curl: use curlx_dynbuf for realloc when loading config files
... fixes an integer overflow at the same time.
Reported-by: ihsinme on github
Assisted-by: Jay Satiro
Closes #5946
Diffstat (limited to 'src/Makefile.inc')
-rw-r--r-- | src/Makefile.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.inc b/src/Makefile.inc index c0b9ad864..6f236fecc 100644 --- a/src/Makefile.inc +++ b/src/Makefile.inc @@ -36,7 +36,8 @@ CURLX_CFILES = \ ../lib/warnless.c \ ../lib/curl_ctype.c \ ../lib/curl_multibyte.c \ - ../lib/version_win32.c + ../lib/version_win32.c \ + ../lib/dynbuf.c CURLX_HFILES = \ ../lib/curl_setup.h \ @@ -45,7 +46,8 @@ CURLX_HFILES = \ ../lib/warnless.h \ ../lib/curl_ctype.h \ ../lib/curl_multibyte.h \ - ../lib/version_win32.h + ../lib/version_win32.h \ + ../lib/dynbuf.h CURL_CFILES = \ slist_wc.c \ |