]> granicus.if.org Git - curl/commit
formpost: trying to attach a directory no longer crashes
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 Oct 2016 07:13:02 +0000 (09:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Oct 2016 07:13:02 +0000 (09:13 +0200)
commitbdf162af255b8dc1498da6f312f04fe2e83f1a48
tree2cc88abcc4b8ce474b8967d8a8c835a9bf41891f
parent54e48b14e1ecf399149b137bb741cf84a73b1f32
formpost: trying to attach a directory no longer crashes

The error path would previously add a freed entry to the linked list.

Reported-by: Toby Peterson
Fixes #1053
lib/formdata.c