[asterisk-bugs] [Asterisk 0013574]: [Patch] Fix false string allocation in realtime_pgsql_store where creating INSERT
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Sep 28 16:29:15 CDT 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=13574
======================================================================
Reported By: navkumar
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 13574
Category: Resources/res_config_pgsql
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2008-09-27 19:10 CDT
Last Modified: 2008-09-28 16:29 CDT
======================================================================
Summary: [Patch] Fix false string allocation in
realtime_pgsql_store where creating INSERT
Description:
The realtime store_func does not work properly in res_config_pgsql. When
composing the INSERT statements, sizeof is used instead of strlen for
newparam and newval. Both of these are of type 'const char *' and this
leads to improper string allocation and editing.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-09-28 16:29 svnbot Status assigned => resolved
2008-09-28 16:29 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list