[php-src] PR #20744: ext/posix: (Further) fix groups array creation on macos.

From: Date: Sat, 20 Dec 2025 22:15:57 +0000
Subject: [php-src] PR #20744: ext/posix: (Further) fix groups array creation on macos.
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34330@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20744 Author: devnexen With macos Tahoe and clang "17.0.0" (Xcode) the ext/posix/tests/posix_getgrgid_macosx.phpt test crashes as follow: ext/posix/posix.c:681:19: runtime error: load of misaligned address 0x60800000e972 for type 'char **', which requires 8 byte alignment 0x60800000e972: note: pointer points here 70 00 2a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 seems memcpy had been translated to a load instruction ? anyhow, we force to copy a "proper" char * source.

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