mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Adds a standalone Node.js script that reproduces the TypeError seen in `tests/app/channel-profile-moderation.test.mjs`. The crash occurs because the test harness instantiates `Application` without running the constructor, leaving `moderationDecorator` undefined. The reproducer demonstrates this by using `Object.create(Application.prototype)` and attempting to call `decorateVideoModeration`.
Fuzz Testing Reproducers
This directory contains reproducers for crashes found during fuzz testing. These files contain the input that caused a crash and the error message.
How to run
The reproducers are JSON files. To re-run a specific case, you can use the fuzz harness and load the JSON input, or manually import the function and call it with the input.
Example structure:
{
"target": "functionName",
"input": { ... },
"error": { ... }
}
Known Issues
buildVideoPostEventcrashes on circular objects if not handled (Fixed).normalizeAndAugmentMagnetcrashes on non-iterableextraTrackers(Fixed).build...functions crash onnull/undefinedinput (Fixed).