This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
hash keys: validate hash key length at compile time
authorTony Cook <tony@develop-help.com>
Thu, 13 Jul 2023 01:01:46 +0000 (11:01 +1000)
committerTony Cook <tony@develop-help.com>
Thu, 27 Jul 2023 03:58:54 +0000 (13:58 +1000)
commit4e5c4877d02aa81480fbfd74f3fe922c7b166063
treea5d715415fddfd5da145538071591e9ec4172925
parent941b22acaf8d350bbb521c38771c3c0625e245f6
hash keys: validate hash key length at compile time

This was new to me, I hadn't encountered this failure while working
on the original "other I32 bugs".

The original test here was failing with an "Out of memory" error
since the long hash key length was overflowing the I32.

Once that was fixed the test was failing purely due to the invalid
code, once that was fixed the test passed so I removed the TODO.
op.c
t/bigmem/hash.t