File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ PHP NEWS
13
13
. Fixed bug #78999 (Cycle leak when using function result as temporary).
14
14
(Dmitry)
15
15
16
+ - Fileinfo:
17
+ . Fixed bug #74170 (locale information change after mime_content_type).
18
+ (Sergei Turchanov)
19
+
16
20
- OPcache:
17
21
. Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS). (Dmitry)
18
22
. Fixed bug #78950 (Preloading trait method with static variables). (Nikita)
@@ -21,9 +25,15 @@ PHP NEWS
21
25
. Fixed bug #78986 (Opcache segfaults when inheriting ctor from immutable
22
26
into mutable class). (Nikita)
23
27
28
+ - Pcntl:
29
+ . Fixed bug #78402 (Converting null to string in error message is bad DX).
30
+ (SATŌ Kentarō)
31
+
24
32
- PDO_PgSQL:
25
33
. Fixed bug #78983 (pdo_pgsql config.w32 cannot find libpq-fe.h). (SATŌ
26
34
Kentarō)
35
+ . Fixed bug #78980 (pgsqlGetNotify() overlooks dead connection). (SATŌ
36
+ Kentarō)
27
37
28
38
- Spl:
29
39
. Fixed bug #78976 (SplFileObject::fputcsv returns -1 on failure). (cmb)
Original file line number Diff line number Diff line change @@ -1068,13 +1068,21 @@ static PHP_METHOD(PDO, pgsqlGetNotify)
1068
1068
1069
1069
H = (pdo_pgsql_db_handle * )dbh -> driver_data ;
1070
1070
1071
- PQconsumeInput (H -> server );
1071
+ if (!PQconsumeInput (H -> server )) {
1072
+ pdo_pgsql_error (dbh , PGRES_FATAL_ERROR , NULL );
1073
+ PDO_HANDLE_DBH_ERR ();
1074
+ RETURN_FALSE ;
1075
+ }
1072
1076
pgsql_notify = PQnotifies (H -> server );
1073
1077
1074
1078
if (ms_timeout && !pgsql_notify ) {
1075
1079
php_pollfd_for_ms (PQsocket (H -> server ), PHP_POLLREADABLE , (int )ms_timeout );
1076
1080
1077
- PQconsumeInput (H -> server );
1081
+ if (!PQconsumeInput (H -> server )) {
1082
+ pdo_pgsql_error (dbh , PGRES_FATAL_ERROR , NULL );
1083
+ PDO_HANDLE_DBH_ERR ();
1084
+ RETURN_FALSE ;
1085
+ }
1078
1086
pgsql_notify = PQnotifies (H -> server );
1079
1087
}
1080
1088
You can’t perform that action at this time.
0 commit comments