Fixed RCSLOCALID buffer overflow (by making an overflow condition fatal).
Spotted by: John Johnson <bio.metrix@gte.net>
This commit is contained in:
parent
3ecf840b66
commit
d9ac691aac
@ -167,7 +167,7 @@ setRCSLocalId(string)
|
||||
next = copy;
|
||||
key = strtok(next, "=");
|
||||
if (strlen(key) > keylength)
|
||||
error("LocalId is too long");
|
||||
faterror("LocalId is too long");
|
||||
VOID strcpy(local_id, key);
|
||||
Keyword[LocalId] = local_id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user