[asterisk-bugs] [Asterisk 0013340]: [patch] handle_getvariable doesn't initialize workspace

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 27 12:58:27 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13340 
====================================================================== 
Reported By:                kryptolus
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13340
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-19 08:17 CDT
Last Modified:              2008-08-27 12:58 CDT
====================================================================== 
Summary:                    [patch] handle_getvariable doesn't initialize
workspace
Description: 
Some functions return 0 but don't put anything in the workspace, in which
case handle_getvariable will return the data in the uninitialized buffer
back to the client.
====================================================================== 

---------------------------------------------------------------------- 
 (0091826) kryptolus (reporter) - 2008-08-27 12:58
 http://bugs.digium.com/view.php?id=13340#c91826 
---------------------------------------------------------------------- 
GROUP function. 

Although it is a bug in the function, it wouldn't hurt to initialize the
buffer. It is actually initialized in other places that read from
functions. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-27 12:58 kryptolus      Note Added: 0091826                          
======================================================================




More information about the asterisk-bugs mailing list