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 855924 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 3
CVE-2013-6482-3.diff (text/plain), 4.15 KB, created by
Huzaifa S. Sidhpurwala
on 2014-01-27 06:13:07 UTC
(
hide
)
Description:
Local copy of patch 3
Filename:
MIME Type:
Creator:
Huzaifa S. Sidhpurwala
Created:
2014-01-27 06:13:07 UTC
Size:
4.15 KB
patch
obsolete
>changeset: 33828:68d6df7dc69c >branch: release-2.x.y >user: Daniel Atallah <datallah@pidgin.im> >date: Sat Mar 16 14:17:45 2013 -0400 >summary: msn: Fix fault handling NUL-pointer derefs > >diff -r ef836278304b -r 68d6df7dc69c libpurple/protocols/msn/oim.c >--- a/libpurple/protocols/msn/oim.c Sat Mar 16 14:17:45 2013 -0400 >+++ b/libpurple/protocols/msn/oim.c Sat Mar 16 14:17:45 2013 -0400 >@@ -362,11 +362,12 @@ msn_oim_send_read_cb(MsnSoapMessage *req > if (faultcode) { > char *faultcode_str = xmlnode_get_data(faultcode); > >- if (g_str_equal(faultcode_str, "q0:AuthenticationFailed")) { >+ if (faultcode_str && g_str_equal(faultcode_str, "q0:AuthenticationFailed")) { > xmlnode *challengeNode = xmlnode_get_child(faultNode, > "detail/LockKeyChallenge"); >+ char *challenge = NULL; > >- if (challengeNode == NULL) { >+ if (challengeNode == NULL || (challenge = xmlnode_get_data(challengeNode)) == NULL) { > if (oim->challenge) { > g_free(oim->challenge); > oim->challenge = NULL; >@@ -384,7 +385,6 @@ msn_oim_send_read_cb(MsnSoapMessage *req > } else { > char buf[33]; > >- char *challenge = xmlnode_get_data(challengeNode); > msn_handle_chl(challenge, buf); > > g_free(oim->challenge); >@@ -400,22 +400,23 @@ msn_oim_send_read_cb(MsnSoapMessage *req > } > } else { > /* Report the error */ >- const char *str_reason; >+ const char *str_reason = NULL; > >- if (g_str_equal(faultcode_str, "q0:SystemUnavailable")) { >- str_reason = _("Message was not sent because the system is " >- "unavailable. This normally happens when the " >- "user is blocked or does not exist."); >+ if (faultcode_str) { >+ if (g_str_equal(faultcode_str, "q0:SystemUnavailable")) { >+ str_reason = _("Message was not sent because the system is " >+ "unavailable. This normally happens when the " >+ "user is blocked or does not exist."); >+ } else if (g_str_equal(faultcode_str, "q0:SenderThrottleLimitExceeded")) { >+ str_reason = _("Message was not sent because messages " >+ "are being sent too quickly."); >+ } else if (g_str_equal(faultcode_str, "q0:InvalidContent")) { >+ str_reason = _("Message was not sent because an unknown " >+ "encoding error occurred."); >+ } >+ } > >- } else if (g_str_equal(faultcode_str, "q0:SenderThrottleLimitExceeded")) { >- str_reason = _("Message was not sent because messages " >- "are being sent too quickly."); >- >- } else if (g_str_equal(faultcode_str, "q0:InvalidContent")) { >- str_reason = _("Message was not sent because an unknown " >- "encoding error occurred."); >- >- } else { >+ if (str_reason == NULL) { > str_reason = _("Message was not sent because an unknown " > "error occurred."); > } >diff -r ef836278304b -r 68d6df7dc69c libpurple/protocols/msn/soap.c >--- a/libpurple/protocols/msn/soap.c Sat Mar 16 14:17:45 2013 -0400 >+++ b/libpurple/protocols/msn/soap.c Sat Mar 16 14:17:45 2013 -0400 >@@ -304,21 +304,25 @@ msn_soap_handle_body(MsnSoapConnection * > if (faultcode != NULL) { > char *faultdata = xmlnode_get_data(faultcode); > >- if (g_str_equal(faultdata, "psf:Redirect")) { >+ if (faultdata && g_str_equal(faultdata, "psf:Redirect")) { > xmlnode *url = xmlnode_get_child(fault, "redirectUrl"); > > if (url) { > char *urldata = xmlnode_get_data(url); >- msn_soap_handle_redirect(conn, urldata); >+ if (urldata) >+ msn_soap_handle_redirect(conn, urldata); > g_free(urldata); > } > > g_free(faultdata); > msn_soap_message_destroy(response); > return TRUE; >- } else if (g_str_equal(faultdata, "wsse:FailedAuthentication")) { >+ } else if (faultdata && g_str_equal(faultdata, "wsse:FailedAuthentication")) { > xmlnode *reason = xmlnode_get_child(fault, "faultstring"); >- char *reasondata = xmlnode_get_data(reason); >+ char *reasondata = NULL; >+ >+ if (reason) >+ reasondata = xmlnode_get_data(reason); > > msn_soap_connection_sanitize(conn, TRUE); > msn_session_set_error(conn->session, MSN_ERROR_AUTH, >
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