We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fa7f8e commit dc446e5Copy full SHA for dc446e5
op.c
@@ -5022,7 +5022,7 @@ S_fold_constants(pTHX_ OP *const o)
5022
SV *constsv = cSVOPx_sv(cBINOPo->op_last);
5023
UV arbitrary = 1024 * 1024;
5024
5025
- if (SvIOKp(constsv)) {
+ if (SvIOK(constsv)) {
5026
if (SvIOK_UV(constsv)) {
5027
if (SvUVX(constsv) > SIZE_MAX >> 2)
5028
ck_warner(packWARN(WARN_MISC), "Unrealistically large string repetition value");
0 commit comments