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 9
9
. Fixed bug #80814 (threaded mod_php won't load on FreeBSD: No space
10
10
available for static Thread Local Storage). (Dmitry)
11
11
12
+ - Dba:
13
+ . Fixed bug #80817 (dba_popen() may cause segfault during RSHUTDOWN). (cmb)
14
+
12
15
- IMAP:
13
16
. Fixed bug #80800 (imap_open() fails when the flags parameter includes
14
17
CL_EXPUNGE). (girgias)
Original file line number Diff line number Diff line change @@ -863,9 +863,9 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
863
863
zend_bool close_both ;
864
864
865
865
close_both = (info -> fp != info -> lock .fp );
866
- php_stream_close (info -> lock .fp );
866
+ php_stream_free (info -> lock .fp , persistent ? PHP_STREAM_FREE_CLOSE_PERSISTENT : PHP_STREAM_FREE_CLOSE );
867
867
if (close_both ) {
868
- php_stream_close (info -> fp );
868
+ php_stream_free (info -> fp , persistent ? PHP_STREAM_FREE_CLOSE_PERSISTENT : PHP_STREAM_FREE_CLOSE );
869
869
}
870
870
info -> fp = NULL ;
871
871
info -> lock .fp = NULL ;
You can’t perform that action at this time.
0 commit comments