[asterisk-bugs] [Asterisk 0011606]: 93668 introduces segfault into chan_iax
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Dec 20 14:18:27 CST 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11606
======================================================================
Reported By: dimas
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 11606
Category: Channels/chan_iax2
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 92736
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-20-2007 04:32 CST
Last Modified: 12-20-2007 14:18 CST
======================================================================
Summary: 93668 introduces segfault into chan_iax
Description:
...which is not fixed by the next commit too..
I'm making _outbound_ call to one of my peers which does not have
"host=dynamic" but rather has IP address. Then:
1. realtime_peer function receives NULL sin
2. var = ast_load_realtime("iaxpeers", "name", peername, "host",
"dynamic", NULL); fails because my peer is not dynamic
3. Evntually /* Last ditch effort */ is executed and where the loop does
IP address comparison (memcmp(&sin2, &sin->sin_a
ddr, sizeof(sin2)) != 0) everything crashes obviously
======================================================================
----------------------------------------------------------------------
svnbot - 12-20-07 14:18
----------------------------------------------------------------------
Repository: asterisk
Revision: 94255
U branches/1.2/channels/chan_iax2.c
------------------------------------------------------------------------
r94255 | russell | 2007-12-20 14:18:26 -0600 (Thu, 20 Dec 2007) | 5 lines
Fix another potential seg fault ...
(closes issue http://bugs.digium.com/view.php?id=11606)
Reported by: dimas
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=94255
Issue History
Date Modified Username Field Change
======================================================================
12-20-07 14:18 svnbot Checkin
12-20-07 14:18 svnbot Note Added: 0075765
12-20-07 14:18 svnbot Status new => assigned
12-20-07 14:18 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list