[asterisk-commits] russell: branch 1.4 r94256 - in /branches/1.4: ./ channels/chan_iax2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 20 14:22:22 CST 2007
Author: russell
Date: Thu Dec 20 14:22:22 2007
New Revision: 94256
URL: http://svn.digium.com/view/asterisk?view=rev&rev=94256
Log:
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:
branches/1.4/ (props changed)
branches/1.4/channels/chan_iax2.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=94256&r1=94255&r2=94256
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Thu Dec 20 14:22:22 2007
@@ -2704,7 +2704,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