[asterisk-bugs] [Asterisk 0011101]: Greater than 256 New messages crashes Asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Oct 28 21:23:38 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11101 
====================================================================== 
Reported By:                Skavin
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11101
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:            1.4.10.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-28-2007 16:59 CDT
Last Modified:              10-28-2007 21:23 CDT
====================================================================== 
Summary:                    Greater than 256 New messages crashes Asterisk
Description: 
a SIP user logging in with 257 messages in an imap mailbox will crash
asterisk.
====================================================================== 

---------------------------------------------------------------------- 
 Skavin - 10-28-07 21:23  
---------------------------------------------------------------------- 
looks like there is a buffer overflow.
it looks like msgArray overwrites mailstream in the vm_state structure
when checking the number of messages in the mailbox for the MWI during
registration.

also

vmu->maxmsg is not checked int the imap code path.
but I assung I have to log a feature request to get that to work

Patch not supplied as you did not like my last one liner. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-28-07 21:23  Skavin         Note Added: 0072606                          
======================================================================




More information about the asterisk-bugs mailing list