cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: segfault, glibc corruption, redhat

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 19 Sep 2008 00:51:04 +0200 (CEST)

On Thu, 18 Sep 2008, Jon Drukman wrote:

>> I disagree. The user of libcurl should make sure to only set valid
>> filehandles to the CURLOPT_STDERR option, as is documented!
>
> well it was obviously a valid filehandle when i created it. i can't control
> what happens with it inside php.

Then php shouldn't pass on broken file handles to libcurl.

> haven't you ever heard the saying "program defensively"?

[sigh]

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-09-19