]> granicus.if.org Git - php/commit
Implement NUL byte checks for dbnames
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 10 Sep 2019 11:02:59 +0000 (13:02 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 17 Sep 2019 14:37:28 +0000 (16:37 +0200)
commit9a734c5c19eb5858989667fd790d10344ff836e9
tree4ec5a468c1af6fbe5cf464a53dc05c76c7b10da6
parent8a66cb35a3e097dc2b977a16a1806d740668ca3b
Implement NUL byte checks for dbnames

Since we're passing these parameter to C functions accepting `char*`
without any further checking, we should reject strings with NUL bytes
in the first place.
ext/sqlite3/sqlite3.c