php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mikhail dot v dot gavrilov at gmail dot com
New email:
PHP Version: OS:

 

 [2010-10-28 17:55 UTC] mikhail dot v dot gavrilov at gmail dot com
Description:
------------
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);
to
val->len = spprintf(&val->data, 0, "%.4f", money_value);

Please apply my path.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-28 18:47 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2010-10-28 18:47 UTC] felipe@php.net
This issue already has been fixed, see bug #52546.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC