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 855935 Details for
Bug 1057498
CVE-2013-6490 pidgin: Heap-based buffer overflow in SIMPLE protocol plugin
[?]
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-6490.diff (text/plain), 1.42 KB, created by
Huzaifa S. Sidhpurwala
on 2014-01-27 06:30:40 UTC
(
hide
)
Description:
Local copy of patch
Filename:
MIME Type:
Creator:
Huzaifa S. Sidhpurwala
Created:
2014-01-27 06:30:40 UTC
Size:
1.42 KB
patch
obsolete
>changeset: 35180:6bd2dd10e5da >branch: release-2.x.y >parent: 35175:89678e04a7ac >user: Tomasz Wasilczyk <twasilczyk@pidgin.im> >date: Fri Jan 10 17:12:31 2014 +0100 >summary: Simple: fix a possible NULL-pointer dereference and add some input filtering. Fixes VRT-2013-1004 > >diff -r 89678e04a7ac -r 6bd2dd10e5da libpurple/protocols/simple/simple.c >--- a/libpurple/protocols/simple/simple.c Thu Jan 09 21:17:31 2014 -0800 >+++ b/libpurple/protocols/simple/simple.c Fri Jan 10 17:12:31 2014 +0100 >@@ -1640,7 +1640,7 @@ static void process_input(struct simple_ > cur += 2; > restlen = conn->inbufused - (cur - conn->inbuf); > if(restlen >= msg->bodylen) { >- dummy = g_malloc(msg->bodylen + 1); >+ dummy = g_new(char, msg->bodylen + 1); > memcpy(dummy, cur, msg->bodylen); > dummy[msg->bodylen] = '\0'; > msg->body = dummy; >diff -r 89678e04a7ac -r 6bd2dd10e5da libpurple/protocols/simple/sipmsg.c >--- a/libpurple/protocols/simple/sipmsg.c Thu Jan 09 21:17:31 2014 -0800 >+++ b/libpurple/protocols/simple/sipmsg.c Fri Jan 10 17:12:31 2014 +0100 >@@ -114,6 +114,11 @@ struct sipmsg *sipmsg_parse_header(const > tmp2 = sipmsg_find_header(msg, "Content-Length"); > if (tmp2 != NULL) > msg->bodylen = strtol(tmp2, NULL, 10); >+ if (msg->bodylen < 0) { >+ purple_debug_warning("simple", "Invalid body length: %d", >+ msg->bodylen); >+ msg->bodylen = 0; >+ } > > if(msg->response) { > tmp2 = sipmsg_find_header(msg, "CSeq"); >
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 1057498
: 855935