|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53194 path for dblib_stmt.c
Submitted: 2010-10-28 17:55 UTC Modified: 2010-10-28 18:47 UTC
From: mikhail dot v dot gavrilov at gmail dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 5.3.3 OS: *nix && win
Private report: No CVE-ID: None
 [2010-10-28 17:55 UTC] mikhail dot v dot gavrilov at gmail dot com
I fix crash PHP_PDO_DBLIB when you try get MONEY fields from MSSQL database via 
FreeTDS data provider.

For fixing this issue you must replace 174 line:
val->len = spprintf(val->data, 0, "%.4f", money_value);
val->len = spprintf(&val->data, 0, "%.4f", money_value);

Please apply my path.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-28 18:47 UTC]
-Status: Open +Status: Bogus
 [2010-10-28 18:47 UTC]
This issue already has been fixed, see bug #52546.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 22:01:32 2024 UTC