[asterisk-bugs] [Asterisk 0011132]: [patch] Memory lead on chan_jingle.c
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Oct 31 16:17:09 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11132
======================================================================
Reported By: eliel
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 11132
Category: Channels/chan_jingle
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 87905
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 10-31-2007 16:13 CDT
Last Modified: 10-31-2007 16:17 CDT
======================================================================
Summary: [patch] Memory lead on chan_jingle.c
Description:
The variable newcandidate is being alloced with ast_calloc but it is not
used a being overwritten his pointer.
newcandidate = ast_calloc();
...
newcandidate = ast_calloc();
So , we are loosing the first pointer.
======================================================================
----------------------------------------------------------------------
svnbot - 10-31-07 16:17
----------------------------------------------------------------------
Repository: asterisk
Revision: 87907
_U trunk/
U trunk/channels/chan_gtalk.c
U trunk/channels/chan_jingle.c
------------------------------------------------------------------------
r87907 | qwell | 2007-10-31 16:17:08 -0500 (Wed, 31 Oct 2007) | 15 lines
Merged revisions 87906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue http://bugs.digium.com/view.php?id=11130)
(closes issue http://bugs.digium.com/view.php?id=11132)
........
r87906 | qwell | 2007-10-31 16:16:20 -0500 (Wed, 31 Oct 2007) | 4 lines
Don't try to allocate memory that we're just going to re-allocate later
anyways.
Issues 11130 and 11132, patch by eliel.
........
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
10-31-07 16:17 svnbot Checkin
10-31-07 16:17 svnbot Note Added: 0072855
10-31-07 16:17 svnbot Status new => assigned
10-31-07 16:17 svnbot Assigned To => qwell
======================================================================
More information about the asterisk-bugs
mailing list