zrax / cctools

Editor and Tool suite for Chip's Challenge, Chip's Challenge 2, and Tile World
http://cctools.zrax.net
GNU General Public License v3.0
20 stars 10 forks source link

cc2edit crashes if it tries to open an invalid c2m #12

Closed ncrecc closed 3 years ago

ncrecc commented 3 years ago

type "lorem ipsum dolor sit amet" into a text file, save it as notachipsmap.c2m, try to open it with cc2edit and it will crash instead of safely returning an error to the user. came across this as a practical issue when i tried to open a file from cc2rejects that must have been saved in a very early version of cc2