php-src/ext/shmop/tests
Niels Dossche 39a3266576
Fix GH-14537: shmop Windows 11 crashes the process
The error handling code isn't entirely right in two places.
One of the code blocks is dead because of an always-false condition, and
another code block is missing the assignment of a NULL pointer.

Getting the exact same behaviour is not entirely possible because you
can't extend the size of a shared memory region after it was made with
the Windows APIs we use, unless we destroy the region and recreate it,
but that has other consequences.
However, it certainly shouldn't crash.

Closes GH-14707.
2024-06-28 20:13:47 +02:00
..
001.phpt Don't strictly check shmop size in test 2021-05-18 19:32:36 +02:00
002.phpt Migrate skip checks to --EXTENSIONS--, p3 2021-04-03 15:23:25 +02:00
bug81407.phpt Use --EXTENSIONS-- section for new test 2021-09-02 23:49:05 +02:00
gh14537.phpt Fix GH-14537: shmop Windows 11 crashes the process 2024-06-28 20:13:47 +02:00
shmop_open_private.phpt Migrate skip checks to --EXTENSIONS--, p3 2021-04-03 15:23:25 +02:00