[asterisk-bugs] [Asterisk 0012206]: [patch] Fix potential crash in manager

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Mar 18 10:22:56 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12206 
====================================================================== 
Reported By:                bkruse
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12206
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 108402 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-13-2008 13:18 CDT
Last Modified:              03-18-2008 10:22 CDT
====================================================================== 
Summary:                    [patch] Fix potential crash in manager
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);

Patch Upload

Does not affect 1.2/1.4 (1.4 has this exact fix)
====================================================================== 

---------------------------------------------------------------------- 
 file - 03-18-08 10:22  
---------------------------------------------------------------------- 
Fixed in trunk as of revision 109396 and 1.6.0 as of revision 109398. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-18-08 10:22  file           Status                   assigned => resolved
03-18-08 10:22  file           Resolution               open => fixed       
03-18-08 10:22  file           Note Added: 0084137                          
======================================================================




More information about the asterisk-bugs mailing list