]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: remove 'config' field from OutStruct
authorDaniel Stenberg <daniel@haxx.se>
Sat, 11 Jan 2020 21:53:34 +0000 (22:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 12 Jan 2020 16:17:44 +0000 (17:17 +0100)
commitad0aa27a9dfd027ffb62b86dfe8a09feb0fee0d8
treea7378517025666cdca40ea9500431ca6b971d1fb
parent29babeafec2cbe4a598a4d90d82bb80b7534f959
curl: remove 'config' field from OutStruct

As it was just unnecessary duplicated information already stored in the
'per_transfer' struct and that's around mostly anyway.

The duplicated pointer caused problems when the code flow was aborted
before the dupe was filled in and could cause a NULL pointer access.

Reported-by: Brian Carpenter
Fixes #4807
Closes #4810
src/tool_cb_hdr.c
src/tool_cb_prg.c
src/tool_cb_rea.c
src/tool_cb_wrt.c
src/tool_cb_wrt.h
src/tool_metalink.c
src/tool_operate.c
src/tool_progress.c
src/tool_sdecls.h