[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:09:36 CST 2008


The following issue is now READY FOR TESTING. 
====================================================================== 
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:                     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-09 20:09 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-09 20:09 eliel          Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list