diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-09-22 13:01:32 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-09-22 16:11:35 +0200 |
commit | 5ed0602ec622274bf5672304ae414e5ecb2e5167 (patch) | |
tree | 44771086e2884be16e5d8132bd3140be5d06466c /ext/mysqlnd/mysqlnd_connection.c | |
parent | 4000780b3d0bbba2d94f65602e602c3892d9775b (diff) | |
download | php-git-5ed0602ec622274bf5672304ae414e5ecb2e5167.tar.gz |
Fix #76943: Inconsistent stream_wrapper_restore() errors
If restoring of any not registered built-in wrapper is requested, the
function is supposed to fail with a warning, so we have to check this
condition first.
Furthermore, to be able to detect whether a built-in wrapper has been
changed, it is not sufficient to check whether *any* userland wrapper
has been registered, but rather whether the specific wrapper has been
modified.
Closes GH-6183.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_connection.c')
0 files changed, 0 insertions, 0 deletions