Check for EOF to fix a segfault while parsing fuzzed MPC files.

This commit is contained in:
Tsuda Kageyu
2015-01-08 13:05:56 +09:00
parent 829ae2112a
commit e463d14f2e
3 changed files with 33 additions and 12 deletions

1
tests/data/segfault2.mpc Normal file
View File

@ -0,0 +1 @@
MPCKSH