[Pidgin] #17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error path
Pidgin
trac at pidgin.im
Thu Sep 21 22:44:19 EDT 2017
#17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error
path
-------------------------+---------------------
Reporter: debarshiray | Owner: deryni
Type: defect | Status: closed
Milestone: 2.10.13 | Component: XMPP
Version: 2.12.0 | Resolution: fixed
Keywords: |
-------------------------+---------------------
Changes (by Debarshi Ray <rishi@…>):
* milestone: 2.12.1 => 2.10.13
Comment:
(In [12476654da77]):[[BR]]
jabber: Avoid a use-after-free in an error path
If jabber_buddy_find_resource returned NULL, 'resource' was being used
to print an error after it had already been freed. The easiest way to
prevent that is to consolidate all the local resource deallocation and
exit paths in one place.
Fixes #17200
--
Ticket URL: <https://developer.pidgin.im/ticket/17200#comment:6>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list