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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Mar 18 10:21:52 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
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:                     assigned
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:              
====================================================================== 
Date Submitted:             03-13-2008 13:18 CDT
Last Modified:              03-18-2008 10:21 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)
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-18-08 10:21  file           View Status              private => public   
======================================================================




More information about the asterisk-bugs mailing list