JS-007 MED: main() script load — wrong file, ftell -1 → malloc(0) OOB, ignored fread

main() opens argv[1] instead of the parsed script_file, trusts ftell unchecked, and ignores the fread count. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers

Outcome