[asterisk-bugs] [Asterisk 0013848]: [patch] Asterisk crashes if udptl.conf is not available
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Nov 9 20:08:35 CST 2008
A NOTE has been added to this issue.
======================================================================
http://insects.digium.com/view.php?id=13848
======================================================================
Reported By: klaus3000
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13848
Category: Core/Configuration
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 154926
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-11-06 10:42 CST
Last Modified: 2008-11-09 20:08 CST
======================================================================
Summary: [patch] Asterisk crashes if udptl.conf is not
available
Description:
Hi! If udptl.conf is not available, Asterisk crashes:
Program terminated with signal 8, Arithmetic exception.
http://insects.digium.com/view.php?id=0 0x081443d5 in
ast_udptl_new_with_bindaddr (sched=0xb7735820,
io=0xb7735910, callbackmode=0, addr={s_addr = 2770372691}) at udptl.c:811
811 x = (ast_random() % (udptlend - udptlstart)) +
udptlstart;
probably udptlend - udptlstart is zero, then we have a division by zero.
======================================================================
----------------------------------------------------------------------
(0094699) eliel (manager) - 2008-11-09 20:08
http://insects.digium.com/view.php?id=13848#c94699
----------------------------------------------------------------------
Thanks for reporting this issue, patch uploaded, please check if this fix
your issue.
(The same issue we had with rtp.c I just copied Tilghman's patch.)
Issue History
Date Modified Username Field Change
======================================================================
2008-11-09 20:08 eliel Note Added: 0094699
======================================================================
More information about the asterisk-bugs
mailing list