summaryrefslogtreecommitdiff
path: root/projects/generate.bat
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-09 15:41:25 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-14 08:32:45 +0200
commit47dd957daff9199daa5fabfc557fe8c36d61f375 (patch)
tree4be473c2a0c5187372cbb9844f4e53269a344110 /projects/generate.bat
parentc4ea71ae3235cca8c6837f48664d587e52eb32d2 (diff)
downloadcurl-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 'projects/generate.bat')
-rw-r--r--projects/generate.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index 88979683f..bc50245e8 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -287,6 +287,7 @@ rem
call :element %1 lib "curl_ctype.c" %3
call :element %1 lib "curl_multibyte.c" %3
call :element %1 lib "version_win32.c" %3
+ call :element %1 lib "dynbuf.c" %3
) else if "!var!" == "CURL_SRC_X_H_FILES" (
call :element %1 lib "config-win32.h" %3
call :element %1 lib "curl_setup.h" %3
@@ -296,6 +297,7 @@ rem
call :element %1 lib "curl_ctype.h" %3
call :element %1 lib "curl_multibyte.h" %3
call :element %1 lib "version_win32.h" %3
+ call :element %1 lib "dynbuf.h" %3
) else if "!var!" == "CURL_LIB_C_FILES" (
for /f "delims=" %%c in ('dir /b ..\lib\*.c') do call :element %1 lib "%%c" %3
) else if "!var!" == "CURL_LIB_H_FILES" (