|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1810446 ] Bad escaping: wrong assumption that char is unsigned
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 09 Oct 2007 15:16:12 -0700
Bugs item #1810446, was opened at 2007-10-10 02:14
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
In curl-7.17.0/lib/escape.c curl_easy_escape on line 123 (snprintf(&ns[strindex], 4, "%%%02X", in);) assumes that char (in) is unsigned. This assumption is wrong.
The simplest patch is to replace 'char in;' with 'unsigned char in;' on line 62.
How to apply attached patch:
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info