diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-07-06 21:24:28 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-07-06 21:24:28 +0000 |
| commit | d5fe59b25bf55f86889abc893c6bdea5b3d74472 (patch) | |
| tree | 94f3e975e24de49984119d3cbfce612b68caa40a | |
| parent | d7588e60487337b6d0ca4a6280a812804afe08e6 (diff) | |
| download | puzzles-d5fe59b25bf55f86889abc893c6bdea5b3d74472.zip puzzles-d5fe59b25bf55f86889abc893c6bdea5b3d74472.tar.gz puzzles-d5fe59b25bf55f86889abc893c6bdea5b3d74472.tar.bz2 puzzles-d5fe59b25bf55f86889abc893c6bdea5b3d74472.tar.xz | |
Missing quit on error was leading to an assertion failure on some
types of incorrectly formatted save file.
[originally from svn r6079]
| -rw-r--r-- | midend.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1350,6 +1350,7 @@ char *midend_deserialise(midend_data *me, if (key[8] != ':') { if (started) ret = "Data was incorrectly formatted for a saved game file"; + goto cleanup; } len = strcspn(key, ": "); assert(len <= 8); |