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 855922 Details for
Bug 1056913
CVE-2013-6482 pidgin: DoS via multiple null pointer dereferences in MSN 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 1
CVE-2013-6482-1.diff (text/plain), 1.66 KB, created by
Huzaifa S. Sidhpurwala
on 2014-01-27 06:12:21 UTC
(
hide
)
Description:
Local copy of patch 1
Filename:
MIME Type:
Creator:
Huzaifa S. Sidhpurwala
Created:
2014-01-27 06:12:21 UTC
Size:
1.66 KB
patch
obsolete
>changeset: 33826:23cbfff68a0c >branch: release-2.x.y >user: Daniel Atallah <datallah@pidgin.im> >date: Sat Mar 16 14:17:45 2013 -0400 >summary: msn: Fix NUL-pointer deref issue parsing Message Headers > >diff -r 932b985540e9 -r 23cbfff68a0c libpurple/protocols/msn/msg.c >--- a/libpurple/protocols/msn/msg.c Sat Mar 16 14:05:51 2013 -0400 >+++ b/libpurple/protocols/msn/msg.c Sat Mar 16 14:17:45 2013 -0400 >@@ -178,6 +178,8 @@ msn_message_parse_payload(MsnMessage *ms > g_free(tmp_base); > g_return_if_reached(); > } >+ >+ /* NUL-terminate the end of the headers - it'll get skipped over below */ > *end = '\0'; > > /* Split the headers and parse each one */ >@@ -195,10 +197,12 @@ msn_message_parse_payload(MsnMessage *ms > > /* The only one I care about is 'boundary' (which is folded from > the key 'Content-Type'), so only process that. */ >- if (!strcmp(key, "boundary")) { >+ if (!strcmp(key, "boundary") && value) { > char *end = strchr(value, '\"'); >- *end = '\0'; >- msn_message_set_header(msg, key, value); >+ if (end) { >+ *end = '\0'; >+ msn_message_set_header(msg, key, value); >+ } > } > > g_strfreev(tokens); >@@ -210,18 +214,15 @@ msn_message_parse_payload(MsnMessage *ms > key = tokens[0]; > value = tokens[1]; > >- /*if not MIME content ,then return*/ > if (!strcmp(key, "MIME-Version")) > { >- g_strfreev(tokens); >- continue; >+ /* Ignore MIME-Version header */ > } >- >- if (!strcmp(key, "Content-Type")) >+ else if (!strcmp(key, "Content-Type")) > { > char *charset, *c; > >- if ((c = strchr(value, ';')) != NULL) >+ if (value && (c = strchr(value, ';')) != NULL) > { > if ((charset = strchr(c, '=')) != NULL) > { >
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 1056913
: 855922 |
855923
|
855924