Skip to content

Commit 2693e52

Browse files
committed
Patch from the upstream git
kkos/oniguruma#57 (CVE-2017-9224) Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
1 parent 4e68b2c commit 2693e52

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ext/mbstring/oniguruma/regexec.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,14 +1425,9 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
14251425
break;
14261426

14271427
case OP_EXACT1: MOP_IN(OP_EXACT1);
1428-
#if 0
14291428
DATA_ENSURE(1);
14301429
if (*p != *s) goto fail;
14311430
p++; s++;
1432-
#endif
1433-
if (*p != *s++) goto fail;
1434-
DATA_ENSURE(0);
1435-
p++;
14361431
MOP_OUT;
14371432
break;
14381433

0 commit comments

Comments
 (0)