[asterisk-bugs] [Asterisk 0015392]: [patch] 1.6.1.1: Memory handling error in main/pbx.c (pbx_extension_helper)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 28 09:58:05 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15392 
====================================================================== 
Reported By:                yrashk
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15392
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.1.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-24 19:25 CDT
Last Modified:              2009-10-28 09:58 CDT
====================================================================== 
Summary:                    [patch] 1.6.1.1: Memory handling error in main/pbx.c
(pbx_extension_helper)
Description: 
Due to Solaris x64 specifics, it won't accept NULLs as string. I think
Asterisk had similar problems before, and apparently it is still doing this
in some places. I found one of them today, since it was blocking asterisk
to start.

Basically, asterisk was segfaulting on every start, on the strlen()
routine.

Attached you can find gdb analysis on a core dumped and a patch that
solves this problem
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015505 Asterisk crashing in cmd voicemail
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-28 09:58 russell        version                  1.6.1.0 =>          
2009-10-28 09:58 russell        Description Updated                          
2009-10-28 09:58 russell        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list