From 0e7af3c6ae2b61a2a02a4a1dfbcd63f714a505a1 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Wed, 22 May 2024 14:48:13 +0200 Subject: fix reuse of frozen state --- rtt-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtt-module.js b/rtt-module.js index 42082ea..5c7e3c6 100755 --- a/rtt-module.js +++ b/rtt-module.js @@ -96,7 +96,7 @@ module.exports.fuzz = function(fuzzerInputData) { if (state_freeze !== JSON.stringify(ctx.state)) { try { - RULES.view(deep_freeze(ctx.state), ctx.active) + RULES.view(deep_freeze(JSON.parse(state_freeze)), ctx.active) } catch (e) { return log_crash(new ViewStateMutationError(e, e.stack), ctx) } -- cgit v1.2.3