ID: 9181
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: Reproduceable crash
Assigned To: sterling
Comments:

At least the typo is fixed in CVS. Could you please try the latest CVS snapshot
from http://snaps.php.net/  to see  which problems still are valid?

I assign this to Sterling who promised to fix the possible bugs in a 2 to 3 weeks.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-02-08 15:35:50] [EMAIL PROTECTED]
curl_setopt with the options CURLOPT_HTTPHEADER, CURLOPT_QUOTE, and CURLOPT_POSTQUOTE 
used with a scalar value cause php to seg fault.  In curl.c:149, there is a typo where 
the constant name CURLOPT_HTTPHEADER is assigned to CURLOPT_HTTP.  Also, in several 
places, the code for the function if_curl_setopt assumes that curl_value is an 
aggregate type, when it may be a single string.  (Notably in the case statements for 
CURLOPT_HTTPHEADER,CURLOPT_POSTQUOTE, and CURLOPT_QUOTE. )  Lastly, in some places 
where a curl_slist is being built, memory is allocated for the first node when it 
should not be.  (Memory is allocated inside of curl_slist_append).
If you write a script that uses the CURLOPT_HTTPHEADER, or the others, you can easily 
reproduce this.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9181&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to