#17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error path

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

#17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error path

Pidgin
#17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error
path
-------------------------+--------------------
 Reporter:  debarshiray  |      Owner:  deryni
     Type:  defect       |     Status:  new
Milestone:  2.12.1       |  Component:  XMPP
  Version:  2.12.0       |   Keywords:
-------------------------+--------------------
 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|        }

--
Ticket URL: <https://developer.pidgin.im/ticket/17200>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error path

Pidgin
#17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error
path
-------------------------+---------------------
 Reporter:  debarshiray  |       Owner:  deryni
     Type:  defect       |      Status:  new
Milestone:  2.12.1       |   Component:  XMPP
  Version:  2.12.0       |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by Robby):

 Pull requests at the [https://bitbucket.org/pidgin/main/src Pidgin
 Bitbucket repo] are usually reviewed in a more timely manner. :-)

--
Ticket URL: <https://developer.pidgin.im/ticket/17200#comment:1>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error path

Pidgin
In reply to this post by Pidgin
#17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error
path
-------------------------+---------------------
 Reporter:  debarshiray  |       Owner:  deryni
     Type:  defect       |      Status:  new
Milestone:  2.12.1       |   Component:  XMPP
  Version:  2.12.0       |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by debarshiray):

 Yes, I read so. Sadly, I don't speak hg so 'git format-patch' is the best
 I can afford. I do sincerely apologize for all this inconvenience.

--
Ticket URL: <https://developer.pidgin.im/ticket/17200#comment:2>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #17200: jingle_rtp_initiate_media: 'resource' is used after being freed in an error path

Pidgin
In reply to this post by Pidgin
#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.13.0       |   Component:  XMPP
  Version:  2.12.0       |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------

Comment (by debarshiray):

 Thanks for sorting this out. Much appreciated.

--
Ticket URL: <https://developer.pidgin.im/ticket/17200#comment:10>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker