php-src/ext/hash
Niels Dossche 7463e70b1e
Handle exceptions from __toString in XXH3's initialization
The initialization routine for XXH3 was not prepared for exceptions from seed.
Fix this by using try_convert_to_string.

For discussion, please see: GH-10305

Closes GH-10352

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-01-17 14:14:12 +00:00
..
murmur fix [-Wstrict-prototypes] buid warnings 2021-11-24 14:55:11 +01:00
sha3 Merge branch 'PHP-7.4' into PHP-8.0 2022-10-21 00:04:43 -06:00
tests Handle exceptions from __toString in XXH3's initialization 2023-01-17 14:14:12 +00:00
xxhash hash: Implement xxHash 2021-01-09 19:35:32 +01:00
bench.php hash: Use hrtime() in the bench script [ci skip] 2021-01-09 21:41:45 +01:00
config.m4 Drop -Wno-implicit-fallthrough compiler flag 2021-04-19 13:59:18 +01:00
config.w32 hash: Implement xxHash 2021-01-09 19:35:32 +01:00
CREDITS
hash_adler32.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_arginfo.h Merge branch 'PHP-8.0' into PHP-8.1 2021-12-26 12:59:06 +01:00
hash_crc32.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_fnv.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_gost.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_haval.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_joaat.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
hash_md.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_murmur.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_ripemd.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_sha3.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_sha.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_snefru.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_tiger.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_whirlpool.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
hash_xxhash.c Handle exceptions from __toString in XXH3's initialization 2023-01-17 14:14:12 +00:00
hash.c Merge branch 'PHP-8.0' into PHP-8.1 2022-04-05 13:36:07 +02:00
hash.stub.php Merge branch 'PHP-8.0' into PHP-8.1 2021-12-26 12:59:06 +01:00
php_hash_adler32.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_crc32_tables.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_crc32.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_fnv.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_gost_tables.h
php_hash_gost.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_haval.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_joaat.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_md.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_murmur.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_ripemd.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_sha3.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_sha.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_snefru_tables.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_snefru.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_tiger_tables.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_tiger.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_whirlpool_tables.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_whirlpool.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash_xxhash.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_hash.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00