Fixed RCSLOCALID buffer overflow (by making an overflow condition fatal).
Spotted by: John Johnson <bio.metrix@gte.net>
This commit is contained in:
parent
4d42fb0aab
commit
a87e0b35bf
@ -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