[asterisk-bugs] [Asterisk 0011726]: Binds a local variable, and uses it once its out of scope

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jan 10 08:50:31 CST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=11726 
====================================================================== 
Reported By:                lurcher
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   11726
Category:                   CDR/cdr_odbc
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 88182 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 reopened
Fixed in Version:           
====================================================================== 
Date Submitted:             01-10-2008 07:54 CST
Last Modified:              01-10-2008 08:50 CST
====================================================================== 
Summary:                    Binds a local variable, and uses it once its out of
scope
Description: 
The code has been chaned to prepare the query, and then binds the values to
be inserted. However the timestamp is a local string. Now the execute is
not in the same function, the memory use is not valid
====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 01-10-08 08:50  
---------------------------------------------------------------------- 
If you can provide more info and a patch with a signed disclaimer feel free
to reopen this issue. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-10-08 08:50  mvanbaak       Status                   assigned => closed  
01-10-08 08:50  mvanbaak       Note Added: 0076642                          
======================================================================




More information about the asterisk-bugs mailing list