public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce2cee
)
fix in check
author
ceriel
<none@none>
Mon, 3 Aug 1987 18:03:23 +0000
(18:03 +0000)
committer
ceriel
<none@none>
Mon, 3 Aug 1987 18:03:23 +0000
(18:03 +0000)
util/led/extract.c
patch
|
blob
|
history
diff --git
a/util/led/extract.c
b/util/led/extract.c
index
38aba4b
..
9b27ea2
100644
(file)
--- a/
util/led/extract.c
+++ b/
util/led/extract.c
@@
-73,7
+73,8
@@
get_names(head)
* with "the first name".
*/
if (name.on_foff) {
- if (name.on_foff < 0 || name.on_foff >= charoff) {
+ if (name.on_foff < charoff ||
+ name.on_foff >= charoff+head->oh_nchar) {
fatal("illegal offset in name");
}
name.on_foff += charindex - charoff;