[php-src] PR #13859: Fix potential NULL pointer argument to memcpy
| From: | nielsdos | Date: | Mon, 01 Apr 2024 16:07:15 +0000 |
| Subject: | [php-src] PR #13859: Fix potential NULL pointer argument to memcpy | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25605@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13859
Author: nielsdos
This is only possible when the length is 0, but memcpy doesn't like NULL pointers, as UBSAN
trips over it.