carld / micro-lisp

๐ŸŽ„A very small Lisp programming language ๐Ÿ˜€that used to be under 200 lines of C๐ŸŽ„
MIT License
798 stars 69 forks source link

afl-fuzz: Segmentation fault #13

Closed HenkPoley closed 6 years ago

HenkPoley commented 6 years ago

For giggles I'm putting this micro-lisp through American Fuzzy Lop (afl-fuzz). It seems rather resilient :+1:

It found what it calls a "hang" case though. If you put a single character in a file, the parser will fault. E.g a file with just 0x7F or 0xED it will lead to a Segmentation fault.

Do with it whatever you like :)

HenkPoley commented 6 years ago

A longer one, the sequence of bytes: 0x00 0x00 0x02 0x00 will lead to a segmentation fault.

HenkPoley commented 6 years ago

Oop.. wrong lisp :P