Fix an out-of-bounds access and consequent errors while parsing fuzzed MPC files.

Consequent errors may vary: segfault, zerodiv and so forth.
This commit is contained in:
Tsuda Kageyu
2015-01-08 12:05:17 +09:00
parent ef786188ad
commit 2193d6dd84
3 changed files with 19 additions and 10 deletions

BIN
tests/data/zerodiv.mpc Normal file

Binary file not shown.