Closed
Description
Description
The following code:
<?php
$c = hash_init('sha1');
hash_final($c);
hash_copy($c);
Resulted in this output:
Segmentation fault
Same thing happens when the context is cloned. Reproducible with multiple algos, though not checked them all.
PHP Version
PHP 8.0+
Operating System
No response