[Home]

Summary:ASTERISK-02596: SetLanguage without parameter segfault
Reporter:apignard (apignard)Labels:
Date Opened:2004-10-13 17:32:08Date Closed:2008-01-15 15:10:28.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Add this line somewhere in sample AGI (agi-test.agi) or any AGI :
print "EXEC SetLanguage\n";

Will segfault.

This will work fine without AGI :
exten => 111,1,SetLanguage()
exten => 111,2,Hangup
Comments:By: James Golovich (jamesgolovich) 2004-10-13 18:48:21

Fixed in CVS head, with a multi-faceted approach that takes care of the specific case and any future problems with AGI EXEC

By: Russell Bryant (russell) 2004-10-14 18:39:28

fixed in the 1.0 branch

By: Digium Subversion (svnbot) 2008-01-15 15:10:28.000-0600

Repository: asterisk
Revision: 4005

U   branches/v1-0/pbx.c

------------------------------------------------------------------------
r4005 | russell | 2008-01-15 15:10:27 -0600 (Tue, 15 Jan 2008) | 2 lines

fix setlanguage seg fault (bug ASTERISK-2596)

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

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