diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2016-08-06 10:17:49 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2016-08-06 10:17:49 +0200 |
commit | 5e2b8349b4ee7df1aa70deb4351f4f0d5c3d8a84 (patch) | |
tree | ece783b023e300dcf66b1279d1676bb279de743d /NEWS | |
parent | 65056e9d6c74adef89332080b5458fd4850fb3b7 (diff) | |
download | php-git-5e2b8349b4ee7df1aa70deb4351f4f0d5c3d8a84.tar.gz |
Check the return value of dbconvert() in mssql_guid_string(), as it may return -1 in case the conversion failed. In that case false is returned.
Also initialize buffer and buffer2 to NULL, which should fix bug #72039 (Use of uninitialised value on mssql_guid_string).
This only applies to 5.6, as we do not have mssql in 7.0 anymore
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2016, PHP 5.6.26 +- MSSQL: + . Fixed bug #72039 (Use of uninitialised value on mssql_guid_string). (Kalle) + 18 Aug 2016, PHP 5.6.25 - Core: |