]> granicus.if.org Git - php/commit
Check for null dbh methods in get_gc
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 28 Oct 2020 09:44:13 +0000 (10:44 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 28 Oct 2020 09:44:13 +0000 (10:44 +0100)
commitab0ec3f24a2510043b15d17b91c24fc36067113c
tree5ee4f9ad3bee84f53c1348ec0b1dc131c138a057
parenta49200a031aecc3f3b2c03a006dfa001d9c8dfff
Check for null dbh methods in get_gc

Methods may not be set at the point where get_gc is called. Fixes
a segfault in Laravel.
ext/pdo/pdo_dbh.c