]> granicus.if.org Git - php/commit
Fix #67465: NULL Pointer dereference in odbc_handle_preparer
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 28 Sep 2020 15:05:17 +0000 (17:05 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 28 Sep 2020 20:57:01 +0000 (22:57 +0200)
commit6acfb79276809d70bafe91a45267c8a307ca900d
tree9b7c4b3caeadf1f755e0a27fda86337563d21674
parent4dfbf07644ba68486b66662d7c74b660a5b80572
Fix #67465: NULL Pointer dereference in odbc_handle_preparer

We have to initialize `stmt->driver_data` before we use it.

Closes GH-6225.
NEWS
ext/pdo_odbc/odbc_driver.c
ext/pdo_odbc/tests/bug67465.phpt [new file with mode: 0644]