[Home]

Summary:ASTERISK-01802: Too short a buffer in extensions.conf parser
Reporter:constfilin (constfilin)Labels:
Date Opened:2004-06-11 21:39:21Date Closed:2008-01-15 14:57:57.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk_shortbuf.patch
Description:The buffer used in extensions.conf parsaed was just 256 characters and that effectively cut long dialing instructions short.

****** ADDITIONAL INFORMATION ******

I had to increase it becuase of long SQL queries I put in extensions.conf
Comments:By: Mark Spencer (markster) 2004-06-12 09:29:49

I increased the buffer size but also added an option to the make file to keep it smaller in pbx.c since that stack allocation is generally in use for every active channel with the pbx_run running on it.  The one in config.c is no big deal obviously.

If anybody else wants to use the LOW_MEMORY to make other speed/memory trade offs that's fine.

By: Digium Subversion (svnbot) 2008-01-15 14:57:57.000-0600

Repository: asterisk
Revision: 3193

U   trunk/Makefile
U   trunk/config.c
U   trunk/pbx.c

------------------------------------------------------------------------
r3193 | markster | 2008-01-15 14:57:57 -0600 (Tue, 15 Jan 2008) | 2 lines

Add "LOW_MEMORY" option and increase some buffer sizes (bug ASTERISK-1802)

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

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