summaryrefslogtreecommitdiff
path: root/rtt-module.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2024-05-22 14:48:13 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2024-05-22 14:48:13 +0200
commit0e7af3c6ae2b61a2a02a4a1dfbcd63f714a505a1 (patch)
tree2e55f5135094ec7bf864df72991c98c2f0d3ebf8 /rtt-module.js
parent6c2ebfb86bb26fdd6279b083b9f04c68c995ae05 (diff)
downloadfuzzer-0e7af3c6ae2b61a2a02a4a1dfbcd63f714a505a1.tar.gz
fix reuse of frozen state
Diffstat (limited to 'rtt-module.js')
-rwxr-xr-xrtt-module.js2
1 files changed, 1 insertions, 1 deletions
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)
}