mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01: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.
2 lines
35 B
C
2 lines
35 B
C
#include "ext/random/php_random.h"
|