[Asterisk-Dev] [bug] sizeof buf in pbx.c:handle_show_application() is to small

Martin Pycko martinp at digium.com
Fri Oct 17 14:09:06 MST 2003


bugtracker ???

Martin

On Fri, 17 Oct 2003, Steven Critchfield wrote:

> 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>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list