diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-04-16 07:51:49 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2012-06-19 10:19:28 +0200 |
commit | cdc1aa425ff891f079f6e8b0787d0d9aa145bd47 (patch) | |
tree | 05dbab134a6a6984aa7606cf3753e4368e9462d3 /cflags.SH | |
parent | 66d2c7cb575fb77aa0403c44521daff3e400f738 (diff) | |
download | perl-cdc1aa425ff891f079f6e8b0787d0d9aa145bd47.tar.gz |
In pp_iter, handle end of range at IV_MAX without undefined behaviour.
The previous code assumed that incrementing a signed integer value wraps.
We're lucky that it has (so far), as it's undefined behaviour in C.
So refactor to code which doesn't assume anything.
Diffstat (limited to 'cflags.SH')
0 files changed, 0 insertions, 0 deletions