[php-src] PR #20496: Fix crash in property existence test in ext/zip

From: Date: Sat, 15 Nov 2025 17:12:48 +0000
Subject: [php-src] PR #20496: Fix crash in property existence test in ext/zip
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34064@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20496 Author: ndossche When type == 2, the zval is not initialized, so zval_ptr_dtor() on it will crash. Unfortunately couldn't test with property_exists() or Reflection because they have fast paths that go through the property info, but fortunately there are paths that don't implement a fast path (e.g. because it doesn't make sense at that point), like with array_column(). So we use array_column() to trigger the crash.

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