mirror of
https://github.com/morluto/rea
synced 2026-10-25 22:08:11 -04:00
fix(verifiers): expect the session-continuation regex overflow reason (#7045)
overflow into the remediation and ended the reason with the session continuation sentence, but the real-Ghidra boundary check still required the old reason text, so every lane that runs verifyGhidraBoundaries failed on real Ghidra.
This commit is contained in:
@@ -529,9 +529,11 @@ export async function verifyGhidraBoundaries(
|
||||
regexError.remediation.action,
|
||||
/literal mode or simplify the regex/u,
|
||||
);
|
||||
// The retry advice lives in the remediation; the reason states that the
|
||||
// session survived the overflow.
|
||||
assert.match(
|
||||
regexError.details.reason,
|
||||
/exhausted its stack.*Use literal mode/u,
|
||||
/exhausted its stack.*session and annotations remain available/u,
|
||||
);
|
||||
rejectedCalls++;
|
||||
const nestedPattern = "(".repeat(12000) + "a" + ")".repeat(12000);
|
||||
|
||||
Reference in New Issue
Block a user