~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb3b29
)
Missing quit on error was leading to an assertion failure on some
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 6 Jul 2005 21:24:28 +0000
(21:24 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 6 Jul 2005 21:24:28 +0000
(21:24 +0000)
types of incorrectly formatted save file.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6079
cda61777
-01e9-0310-a592-
d414129be87e
midend.c
patch
|
blob
|
blame
|
history
diff --git
a/midend.c
b/midend.c
index
7ef05cb
..
691c643
100644
(file)
--- a/
midend.c
+++ b/
midend.c
@@
-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);