mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

Signed multiply overflow is undefined behaviour. If you run the CI tests with UBSAN enabled on a 32-bit platform, this is quite easy to hit. On 64-bit it's more difficult to hit though, but not impossible. Closes GH-10942.
1 line
35 B
C
1 line
35 B
C
#include "ext/random/php_random.h"
|