[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:24:06 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
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:24 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0095419) blitzrage (administrator) - 2008-11-24 15:24
 http://bugs.digium.com/view.php?id=13848#c95419 
---------------------------------------------------------------------- 
OK, I was able to reproduce this issue (thanks Zoiper!) and I confirm this
patch resolves the crashing issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-24 15:24 blitzrage      Note Added: 0095419                          
======================================================================




More information about the asterisk-bugs mailing list