curl-library
Re: Patrick: Diff for /curl/lib/url.c between version 1.656 and 1.657
From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 17 Oct 2007 20:10:24 +0200
Date: Wed, 17 Oct 2007 20:10:24 +0200
2007/10/17, Patrick Monnerat wrote:
> b) 32-bit size_t and 32-bit curl_off_t
> (data->set.postfieldsize < 0) properly rejects negative values.
> (data->set.postfieldsize > (curl_off_t)((size_t)-1)) compares a positive
> value with (curl_off_t) 0xFFFFFFFF = signed 0xFFFFFFFF = -1 --> always
> true --> KO
>
> c) 64-bit size_t and 64-bit curl_off_t
> Same as b).
You're right ! Thanks !
Is this http://cool.haxx.se/cvs.cgi/curl/lib/url.c.diff?r1=1.660&r2=1.661
OK for you ?
-- -=[Yang]=-Received on 2007-10-17