Red Hat Bugzilla – Bug 1445921
jingle_rtp_initiate_media: 'resource' is used after being freed in an error path
Last modified: 2017-08-01 16:20:06 EDT
Coverity says: 3. pidgin-2.10.11/libpurple/protocols/jabber/jingle/rtp.c:966: freed_arg: "g_free" frees "resource". 5. pidgin-2.10.11/libpurple/protocols/jabber/jingle/rtp.c:969: pass_freed_arg: Passing freed pointer "resource" as an argument to "purple_debug_error". # 967| # 968| if (!jbr) { # 969|-> purple_debug_error("jingle-rtp", "Could not find buddy's resource - %s\n", resource); # 970| return FALSE; # 971| } Patch sent upstream: https://developer.pidgin.im/ticket/17200 Fedora bug: bug 1445915
Here is a scratch build with the proposed fix: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13093877
I have built pidgin-2.10.11-3.el7: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13096832
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1854