File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ PHP NEWS
30
30
- Pcntl:
31
31
. Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)
32
32
33
+ - PgSQL:
34
+ . Fixed result_type related stack corruption on LLP64 architectures. (cmb)
35
+
33
36
- Sockets:
34
37
. Fixed Solaris builds. (David Carlier)
35
38
Original file line number Diff line number Diff line change @@ -2021,7 +2021,7 @@ PHP_FUNCTION(pg_fetch_object)
2021
2021
PHP_FUNCTION (pg_fetch_all )
2022
2022
{
2023
2023
zval * result ;
2024
- long result_type = PGSQL_ASSOC ;
2024
+ zend_long result_type = PGSQL_ASSOC ;
2025
2025
PGresult * pgsql_result ;
2026
2026
pgsql_result_handle * pg_result ;
2027
2027
@@ -5879,7 +5879,7 @@ PHP_FUNCTION(pg_select)
5879
5879
pgsql_link_handle * link ;
5880
5880
zend_string * table ;
5881
5881
zend_ulong option = PGSQL_DML_EXEC ;
5882
- long result_type = PGSQL_ASSOC ;
5882
+ zend_long result_type = PGSQL_ASSOC ;
5883
5883
PGconn * pg_link ;
5884
5884
zend_string * sql = NULL ;
5885
5885
You can’t perform that action at this time.
0 commit comments