Summary: | ASTERISK-00249: [patch] Fix bug in pbx.c for "show application ..." too-small buffers | ||
Reporter: | John Todd (jtodd) | Labels: | |
Date Opened: | 2003-09-11 15:35:41 | Date Closed: | 2008-01-15 14:35:06.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-cxnet-pbx-increaseshow ( 1) showapp.diff | |
Description: | From: "Tais M. Hansen" <th@comx.as> Organization: ComX Networks To: asterisk-dev@lists.digium.com Subject: CallerID minor update & pbx note Date: Thu, 11 Sep 2003 20:36:52 +0200 Hi, A minor update of my app_dial hide callerid patch adding option 'h' to app_dial description. Also, the buf size in pbx.c show app cli command was too small to show app_dial's full description even before I added option 'h'. It should be increased. Patch to do so (+1024 bytes) and to help show what I'm rambling about, is also attached. - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 | ||
Comments: | By: Thorsten Lockert (tholo) 2003-09-26 20:34:36 I put up a different patch which will dynamically allocate however much space is needed, instead of trying to fit it in a fixed-size buffer. By: Mark Spencer (markster) 2003-09-26 21:21:13 Merged in CVS By: Digium Subversion (svnbot) 2008-01-15 14:35:06.000-0600 Repository: asterisk Revision: 1562 U trunk/pbx.c ------------------------------------------------------------------------ r1562 | markster | 2008-01-15 14:35:06 -0600 (Tue, 15 Jan 2008) | 2 lines Move to asprintf (bug ASTERISK-249) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=1562 |