-
Notifications
You must be signed in to change notification settings - Fork 48
Allocation failed - JavaScript heap out of memory (tokenize) #5
Comments
Hey @cawalch thanks for reporting! versifier is a new algorithm that we just released and it can be disabled with Any chance you can share with me the fuzz-target or a repo that will help me to reproduce this behaviour? |
Got it. Thanks.
https://github.com/asciidoctor/asciidoctor.js Corpus seed
Hopefully that helps. |
I just tried this tool out and I've been seeing this a lot as well. On one run, I even had a 40MB corpus file. Since maximum call stack errors were expected in my project, I also put this code into my fuzz function and don't recall seeing it since. if (buffer.length > 1024) {
return;
} |
Thanks for reporting I think I'll disable versifier for now by default. |
I encountered a core dump while fuzzing that traces back to jsfuzz's
versifier.js:413
It also generated a corpus file of ~144K, while the average corpus size was ~20 bytes
jsfuzz - 1.0.10
node - 10.16.3
The text was updated successfully, but these errors were encountered: