]> granicus.if.org Git - php/commit
Fix #78114: segfault when calling sodium_* functions from eval
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 6 Jun 2019 07:29:44 +0000 (09:29 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 6 Jun 2019 08:00:15 +0000 (10:00 +0200)
commit22a3fa0b2e31e33665765bde630bc6c6f0dd475b
treed25034282f986a5df33b88a9e0f910861f3dccf0
parent249c20023d4446d81a2904dc5e8d3aa4a3a2d016
Fix #78114: segfault when calling sodium_* functions from eval

We must not follow the NULL pointer.
NEWS
ext/sodium/libsodium.c
ext/sodium/tests/bug78114.phpt [new file with mode: 0644]