[asterisk-commits] russell: trunk r94257 - in /trunk: ./ channels/chan_iax2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 20 14:25:05 CST 2007
Author: russell
Date: Thu Dec 20 14:25:05 2007
New Revision: 94257
URL: http://svn.digium.com/view/asterisk?view=rev&rev=94257
Log:
Merged revisions 94256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r94256 | russell | 2007-12-20 14:22:22 -0600 (Thu, 20 Dec 2007) | 13 lines
Merged revisions 94255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r94255 | russell | 2007-12-20 14:21:41 -0600 (Thu, 20 Dec 2007) | 5 lines
Fix another potential seg fault ...
(closes issue #11606)
Reported by: dimas
........
................
Modified:
trunk/ (props changed)
trunk/channels/chan_iax2.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=94257&r1=94256&r2=94257
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu Dec 20 14:25:05 2007
@@ -2972,7 +2972,7 @@
* is because we only have the IP address and the host field might be
* set as a name (and the reverse PTR might not match).
*/
- if (var) {
+ if (var && sin) {
for (tmp = var; tmp; tmp = tmp->next) {
if (!strcasecmp(tmp->name, "host")) {
struct in_addr sin2 = { 0, };
More information about the asterisk-commits
mailing list