gh-140979: Fix off-by-one error in the RE code validator by serhiy-storchaka · Pull Request #140984 · python/cpython (original) (raw)

@serhiy-storchaka

It was too lenient and allowed MARK opcodes with too large value.

@serhiy-storchaka serhiy-storchaka changed the titlegh-140797: Fix off-by-one error in the RE code validator gh-140979: Fix off-by-one error in the RE code validator

Nov 4, 2025

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Nov 4, 2025

@serhiy-storchaka @miss-islington

…nGH-140984)

It was too lenient and allowed MARK opcodes with too large value. (cherry picked from commit 1326d2a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Nov 4, 2025

@serhiy-storchaka @miss-islington

…nGH-140984)

It was too lenient and allowed MARK opcodes with too large value. (cherry picked from commit 1326d2a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

serhiy-storchaka added a commit that referenced this pull request

Nov 4, 2025

@miss-islington @serhiy-storchaka

…40984) (GH-141000)

It was too lenient and allowed MARK opcodes with too large value. (cherry picked from commit 1326d2a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

serhiy-storchaka added a commit that referenced this pull request

Nov 4, 2025

@miss-islington @serhiy-storchaka

…40984) (GH-141001)

It was too lenient and allowed MARK opcodes with too large value. (cherry picked from commit 1326d2a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Dec 6, 2025

@serhiy-storchaka @StanFromIreland

…nGH-140984)

It was too lenient and allowed MARK opcodes with too large value.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})