#33965 [Asn->Csd]: [PATCH] NULL valued output parameter from stored procedures contain corrupt data
ID: 33965
Updated by: fmk@php.net
Reported By: paul dot robinson at groupbc dot com
-Status: Assigned
+Status: Closed
Bug Type: MSSQL related
Operating System: Linux (RHEL 4)
PHP Version: 5CVS-2005-08-06
Assigned To: fmk
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-08-06 01:30:57] sniper@php.net
Frank, can you check this out?
------------------------------------------------------------------------
[2005-08-05 16:57:19] paul dot robinson at groupbc dot com
Patch against php_mssql.c CVS version 1.149 can be found here:
http://cobweb.businesscollaborator.com/pdr/33965.patch
Rationale behind the patch was discussed here:
http://lists.ibiblio.org/pipermail/freetds/2005q3/018851.html
This has been verified to work with FreeTDS releases _after_ 0.63.
Without this patch output parameters that should be null will simply
read random data.
------------------------------------------------------------------------
[2005-08-02 19:12:53] sniper@php.net
Provide patches in unified diff format (diff -u) and against PHP CVS
HEAD (we're not likely to release any 5.0.x versions anymore). Put the
diffs somewhere were people can download it and put the URLs here.
------------------------------------------------------------------------
[2005-08-02 18:50:33] paul dot robinson at groupbc dot com
Patches suggested are against Snapshot:
php5-STABLE-200508021038.tar.gz
Although I haven't actually built an example using that snapshot today
I have looked at the code which since it is unchanged would seem to
exhibit the same problem.
------------------------------------------------------------------------
[2005-08-02 18:34:21] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/33965
--
Edit this bug report at http://bugs.php.net/?id=33965&edit=1
Thread (7 messages)