Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 855927 Details for
Bug 1057484
CVE-2013-6485 pidgin: Heap-based buffer overflow when parsing chunked HTTP responses
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Local copy of patch
CVE-2013-6485.diff (text/plain), 1.41 KB, created by
Huzaifa S. Sidhpurwala
on 2014-01-27 06:17:18 UTC
(
hide
)
Description:
Local copy of patch
Filename:
MIME Type:
Creator:
Huzaifa S. Sidhpurwala
Created:
2014-01-27 06:17:18 UTC
Size:
1.41 KB
patch
obsolete
>changeset: 33869:c9e5aba2dafd >branch: release-2.x.y >user: Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im> >date: Tue Aug 20 17:36:14 2013 +0200 >summary: Correct HTTP chunked transfers code (not fixed in rev ebe3fb4a3bc2) > >diff -r e111ec8dcb3f -r c9e5aba2dafd libpurple/util.c >--- a/libpurple/util.c Fri Jul 05 12:14:21 2013 +0200 >+++ b/libpurple/util.c Tue Aug 20 17:36:14 2013 +0200 >@@ -37,6 +37,8 @@ > specified a length) */ > #define DEFAULT_MAX_HTTP_DOWNLOAD (512 * 1024) > >+#define MAX_HTTP_CHUNK_SIZE (10 * 1024 * 1024) >+ > struct _PurpleUtilFetchUrlData > { > PurpleUtilFetchUrlCallback callback; >@@ -3781,11 +3783,12 @@ process_chunked_data(char *data, gsize * > break; > s += 2; > >- if (s + sz > data + *len) { >+ if (sz > MAX_HTTP_CHUNK_SIZE || s + sz > data + *len) { > purple_debug_error("util", "Error processing chunked data: " > "Chunk size %" G_GSIZE_FORMAT " bytes was longer " > "than the data remaining in the buffer (%" > G_GSIZE_FORMAT " bytes)\n", sz, data + *len - s); >+ break; > } > > /* Move all data overtop of the chunk length that we read in earlier */ >@@ -3793,7 +3796,7 @@ process_chunked_data(char *data, gsize * > p += sz; > s += sz; > newlen += sz; >- if (*s != '\r' && *(s + 1) != '\n') { >+ if (*s == '\0' || (*s != '\r' && *(s + 1) != '\n')) { > purple_debug_error("util", "Error processing chunked data: " > "Expected \\r\\n, found: %s\n", s); > break; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1057484
: 855927