[asterisk-bugs] [Asterisk 0017215]: [patch] Segfault on ael parsing

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 23 16:09:20 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17215 
====================================================================== 
Reported By:                vazir
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17215
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.10
Asterisk Version:           SVN 
JIRA:                       SWP-1327 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-20 17:01 CDT
Last Modified:              2010-06-23 16:09 CDT
====================================================================== 
Summary:                    [patch] Segfault on ael parsing
Description: 
The following construction causes AEL to crash

aelparse crasheas as well as asterisk process on extesions.ael reload

Set(PBOOK=${ODBC_GET_PHONEBOOK(${shortno},${source});

please note unfinished variable end absence of the ')'
====================================================================== 

---------------------------------------------------------------------- 
 (0123806) svnbot (reporter) - 2010-06-23 16:09
 https://issues.asterisk.org/view.php?id=17215#c123806 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 272262

_U  branches/1.6.2/
U   branches/1.6.2/res/ael/ael.flex
U   branches/1.6.2/res/ael/ael.tab.c
U   branches/1.6.2/res/ael/ael.y
U   branches/1.6.2/res/ael/ael_lex.c

------------------------------------------------------------------------
r272262 | tilghman | 2010-06-23 16:09:19 -0500 (Wed, 23 Jun 2010) | 15
lines

Merged revisions 272260 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r272260 | tilghman | 2010-06-23 16:06:40 -0500 (Wed, 23 Jun 2010) | 8
lines
  
  Ensure a NULL file while debugging cannot crash AEL.
  
  (closes issue https://issues.asterisk.org/view.php?id=17215)
   Reported by: vazir
   Patches: 
         20100518__issue17215.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=272262 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-23 16:09 svnbot         Checkin                                      
2010-06-23 16:09 svnbot         Note Added: 0123806                          
======================================================================




More information about the asterisk-bugs mailing list