[Asterisk-Dev] [bug] sizeof buf in pbx.c:handle_show_application() is to small
Steven Critchfield
critch at basesys.com
Fri Oct 17 13:17:26 MST 2003
While looking up documentation for a person on the user list, I noticed
the show application dial command didn't return all of the help file. So
far it looks like everything uses a pointer to the data with the
exception of handle_show_application in pbx.c. In this function a
sprintf is used to fill buff[2048] with formated information. In the
case of Dial, This string has just recently crossed over the 2k buf.
As this may affect other applications, I do not want to submit a patch
myself that just bumps the size of buff without further looking into
this problem. But if someone who knows more looks it over before me,
then fine.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-dev
mailing list