[php-src] PR #17550: Fix NULL arithmetic in System V shared memory emulation
| From: | cmb69 | Date: | Thu, 23 Jan 2025 15:46:11 +0000 |
| Subject: | [php-src] PR #17550: Fix NULL arithmetic in System V shared memory emulation | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30481@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17550
Author: cmb69
For the first child process execution,
TWG(shm) is NULL; we need to catch
that to avoid undefined behavior.
---
Basically the same issue as #17470. It might be a good idea to set up a Windows nightly with Clang
sanitizers enabled.