]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: Fix segfault when -H @headerfile is empty
authorTobias Blomberg <sm0svx@users.noreply.github.com>
Thu, 26 Jul 2018 21:22:49 +0000 (23:22 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 28 Jul 2018 20:48:31 +0000 (22:48 +0200)
commit3e9b3a3798885b31fe316cafa57425f44bcd1a2c
treea9b062addd66c64505ee6721f8da3f72e46cdbe1
parentd3905419444614463506243930be1648fb2d7aa7
curl: Fix segfault when -H @headerfile is empty

The curl binary would crash if the -H command line option was given a
filename to read using the @filename syntax but that file was empty.

Closes #2797
src/tool_getparam.c