public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f99f25c
)
avoid a null-reference
author
ceriel
<none@none>
Mon, 19 Jun 1989 11:09:44 +0000
(11:09 +0000)
committer
ceriel
<none@none>
Mon, 19 Jun 1989 11:09:44 +0000
(11:09 +0000)
modules/src/read_em/readk.c
patch
|
blob
|
history
diff --git
a/modules/src/read_em/readk.c
b/modules/src/read_em/readk.c
index
a44c66d
..
ab82b79
100644
(file)
--- a/
modules/src/read_em/readk.c
+++ b/
modules/src/read_em/readk.c
@@
-246,7
+246,8
@@
getstring(isident)
#ifdef CHECKING
if (strleft < 0) {
xerror("Negative length in string");
- return 0;
+ s->length = 0;
+ return s;
}
#endif CHECKING
}