diff options
| author | Ryan Barnett <rjbarnet@rockwellcollins.com> | 2013-08-29 17:41:08 -0500 |
|---|---|---|
| committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-02 21:42:41 +0200 |
| commit | 9093cc451c702c3b16fb704f524398abda85c2d2 (patch) | |
| tree | 023869bc384faab4081314d464ed195bf94210f2 /package/libcurl/libcurl-03-CVE-2013-2174.patch | |
| parent | d1de1c0d1f207a695f4998f6873b7131ece25a65 (diff) | |
| download | buildroot-9093cc451c702c3b16fb704f524398abda85c2d2.tar.gz buildroot-9093cc451c702c3b16fb704f524398abda85c2d2.zip | |
libcurl: up revision to 7.32.0
Updating revision of libcurl to version 7.32.0
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libcurl/libcurl-03-CVE-2013-2174.patch')
| -rw-r--r-- | package/libcurl/libcurl-03-CVE-2013-2174.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/package/libcurl/libcurl-03-CVE-2013-2174.patch b/package/libcurl/libcurl-03-CVE-2013-2174.patch deleted file mode 100644 index 673431f172..0000000000 --- a/package/libcurl/libcurl-03-CVE-2013-2174.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 6032f0ff672f09babf69d9d42bcde6eb9eeb5bea Mon Sep 17 00:00:00 2001 -From: Daniel Stenberg <daniel@haxx.se> -Date: Sun, 19 May 2013 23:24:29 +0200 -Subject: [PATCH] Curl_urldecode: no peeking beyond end of input buffer - -Security problem: CVE-2013-2174 - -If a program would give a string like "%" to curl_easy_unescape(), it -would still consider the % as start of an encoded character. The -function then not only read beyond the buffer but it would also deduct -the *unsigned* counter variable for how many more bytes there's left to -read in the buffer by two, making the counter wrap. Continuing this, the -function would go on reading beyond the buffer and soon writing beyond -the allocated target buffer... - -Bug: http://curl.haxx.se/docs/adv_20130622.html -Reported-by: Timo Sirainen ---- - lib/escape.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/lib/escape.c b/lib/escape.c -index 6a26cf8..aa7db2c 100644 ---- a/lib/escape.c -+++ b/lib/escape.c -@@ -159,7 +159,8 @@ CURLcode Curl_urldecode(struct SessionHandle *data, - - while(--alloc > 0) { - in = *string; -- if(('%' == in) && ISXDIGIT(string[1]) && ISXDIGIT(string[2])) { -+ if(('%' == in) && (alloc > 2) && -+ ISXDIGIT(string[1]) && ISXDIGIT(string[2])) { - /* this is two hexadecimal digits following a '%' */ - char hexstr[3]; - char *ptr; --- -1.7.10.4 - |

