[asterisk-bugs] [Asterisk 0013848]: [patch] Asterisk crashes if udptl.conf is not available

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 24 15:06:22 CST 2008


The following issue is now READY FOR TESTING. 
====================================================================== 
http://bugs.digium.com/view.php?id=13848 
====================================================================== 
Reported By:                klaus3000
Assigned To:                blitzrage
====================================================================== 
Project:                    Asterisk
Issue ID:                   13848
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
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-24 15:06 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://bugs.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.
====================================================================== 

---------------------------------------------------------------------- 
 (0095416) blitzrage (administrator) - 2008-11-24 15:06
 http://bugs.digium.com/view.php?id=13848#c95416 
---------------------------------------------------------------------- 
Hrmmm... I misread this and thought that it would just be a matter of
running Asterisk without the udptl.conf file, but it seems it actually
needs to be used, and I'm not exactly sure the easiest way of doing that,
so I'm setting this back to Ready For Testing. Sorry for the noise. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-24 15:06 blitzrage      Note Added: 0095416                          
2008-11-24 15:06 blitzrage      Status                   assigned => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list