[asterisk-bugs] [Asterisk 0015774]: [patch] AJAM causing Asterisk Seg Fault when attempting login

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 31 16:45:43 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15774 
====================================================================== 
Reported By:                lasko
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15774
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-24 15:38 CDT
Last Modified:              2009-08-31 16:45 CDT
====================================================================== 
Summary:                    [patch] AJAM causing Asterisk Seg Fault when
attempting login
Description: 
Asterisk Setup: SVN Trunk @ r213093 

Setup: enable the Asterisk Builtin mini-Http server inside of
/etc/asterisk/http.conf to be enabled=yes and configuring manager.conf to
have webenabled

(example setup which causes the failure) 
http://www.voip-info.org/wiki/view/Aynchronous+Javascript+Asterisk+Manager+(AJAM)

Once setup, any attempt to login via the http request:
http://localhost:8088/asterisk/manager?action=login&username=foo&secret=bar


or any command send to the manager causes a segmentation fault to occur.

Backtrace is attached for segmentation fault


====================================================================== 

---------------------------------------------------------------------- 
 (0109874) svnbot (reporter) - 2009-08-31 16:45
 https://issues.asterisk.org/view.php?id=15774#c109874 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 215069

U   trunk/main/manager.c

------------------------------------------------------------------------
r215069 | tilghman | 2009-08-31 16:45:43 -0500 (Mon, 31 Aug 2009) | 7
lines

Properly initialize the session to prevent a crash.
(closes issue https://issues.asterisk.org/view.php?id=15774)
 Reported by: lasko
 Patches: 
       20090831__issue15774.diff.txt uploaded by tilghman (license 14)
 Tested by: lasko

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-31 16:45 svnbot         Checkin                                      
2009-08-31 16:45 svnbot         Note Added: 0109874                          
======================================================================




More information about the asterisk-bugs mailing list