Using CURLOPT_POST without using CURLOPT_POSTFIELDS caused us to strlen()
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Aug 2001 13:38:36 +0000 (13:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Aug 2001 13:38:36 +0000 (13:38 +0000)
commit70ad8a0b2be173a71a0e55263da55c78fcd505b6
treefd7180035c923d343ad37643d9f8a8df91a9424a
parentcec8a3afb2c0103571220b64a20fa62a886abb8c
Using CURLOPT_POST without using CURLOPT_POSTFIELDS caused us to strlen()
a NULL pointer. Now, we treat a missing CURLOPT_POSTFIELDS as if there is
no data to send.
lib/http.c