Summary: | ASTERISK-14708: [patch] AJAM causing Asterisk Seg Fault when attempting login | ||
Reporter: | Brandon Height (lasko) | Labels: | |
Date Opened: | 2009-08-24 15:38:52 | Date Closed: | 2009-08-31 16:45:44 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20090831__issue15774.diff.txt ( 1) gdb.txt | |
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 | ||
Comments: | By: Leif Madsen (lmadsen) 2009-08-31 08:22:00 Assigned to Tilghman to review the backtrace to determine if more information is required. Thanks! By: Brandon Height (lasko) 2009-08-31 15:45:53 patch seems to functional and has been tested on svn trunk, and asterisk shows no segmentation fault. By: Digium Subversion (svnbot) 2009-08-31 16:45:43 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 ASTERISK-14708) 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 |