skx / gobasic

A BASIC interpreter written in golang.

Home Page:https://blog.steve.fi/tags/basic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash in FOR loop

skx opened this issue · comments

An overnight run of the fuzzing-tool found the following program, which crashes:

  LET term=0
  FOR I=0TO term STEP

(There were 1000+ crashes found overnight; half of them were invalid DATA statements, the other half were hangs, due to INPUT or endless loops, be they GOTO/GOSUB/FOR. Yay!)