|Summary:||ASTERISK-11634: [patch] Fix potential crash in manager|
|Reporter:||Brandon Kruse (bkruse)||Labels:|
|Date Opened:||2008-03-13 13:18:22||Date Closed:||2008-03-18 10:22:57|
|Environment:||Attachments:||( 0) 12206.crash.patch|
|Description:||In main/manager.c, function 'action_command', astman_append is called (which is a format string function) with 'buf' or 'final_buf' instead of calling them as a string with "%s":|
astman_append(s, "%s", S_OR(final_buf, buf);
Does not affect 1.2/1.4 (1.4 has this exact fix)
****** ADDITIONAL INFORMATION ******
Changed the title so it does not give to many things away (just for safety)
|Comments:||By: Brandon Kruse (bkruse) 2008-03-17 14:57:31|
Uploaded patch, I know it is a super simple, trivial fix. Just forgot to upload it friday.
By: Joshua C. Colp (jcolp) 2008-03-18 10:22:55
Fixed in trunk as of revision 109396 and 1.6.0 as of revision 109398.