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 696215 Details for
Bug 910040
CVE-2013-0272 pidgin: MXit protocol stack-based buffer overflow when processing HTTP headers
[?]
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 (by Pidgin upstream) proposed patch to fix the CVE-2013-0272 issue
CVE-2013-0272.diff (text/plain), 923 bytes, created by
Jan Lieskovsky
on 2013-02-11 17:00:04 UTC
(
hide
)
Description:
Local copy of (by Pidgin upstream) proposed patch to fix the CVE-2013-0272 issue
Filename:
MIME Type:
Creator:
Jan Lieskovsky
Created:
2013-02-11 17:00:04 UTC
Size:
923 bytes
patch
obsolete
>diff -r 574bdd1627f3 libpurple/protocols/mxit/http.c >--- a/libpurple/protocols/mxit/http.c Wed Jan 16 22:06:45 2013 +0200 >+++ b/libpurple/protocols/mxit/http.c Thu Jan 17 17:40:04 2013 +0200 >@@ -116,11 +116,12 @@ > buflen = session->rx_i; > > /* read bytes from the socket */ >- len = read( session->fd, buf + buflen, sizeof( buf ) - buflen ); >+ len = read( session->fd, buf + buflen, sizeof( buf ) - ( buflen + 1 ) ); > if ( len <= 0 ) { > /* connection has been terminated, or error occurred */ > goto done; > } >+ buf[buflen+len] = '\0'; > > //nextpacket: > >@@ -181,7 +182,11 @@ > g_free( tmp ); > tmp = NULL; > >- if ( buflen > ( ( body - buf ) + bodylen ) ) { >+ if ( buflen + bodylen >= CP_MAX_PACKET ) { >+ /* this packet is way to big */ >+ goto done; >+ } >+ else if ( buflen > ( ( body - buf ) + bodylen ) ) { > /* we have a second packet here */ > next = body + bodylen; > session->rx_res = 0;
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 910040
: 696215