[php-src] PR #24650: Fix GH-24641: ndbm handler does not check dbm_open() result

From: Date: Sat, 24 Oct 2026 15:13:13 +0000
Subject: [php-src] PR #24650: Fix GH-24641: ndbm handler does not check dbm_open() result
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39822@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24650 Author: lazerg dbm_open() returns NULL when it can't open the database, but the ndbm open handler stored that NULL and reported success, so the first dba_firstkey()/dba_fetch() on the handle crashed. It now returns FAILURE like the other handlers, and dba_open() gives the usual "Driver initialization failed" warning. Fixes #24641

« previous php.git-pulls (#39822) next »