People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
multi.c converts the reset into a retry, and calls multi_done(). Because Curl_conn_ev_data_done() makes Curl forget about the transfer, the buffered unsent remainder of the upload body is flushed. Now, curl opens a new stream, and frees the pointer. On the retry, the Curl_easy object is thus UAFed.