mirror of
https://github.com/php/php-src.git
synced 2026-10-28 17:56:50 +08:00
These can return NULL on OOM. And for blobs, it can return NULL for empty blobs (so *no* failure, just an edge case). Passing NULL to memcpy is UB, so we have to check for a NULL pointer there to avoid UB. Closes GH-22045.