Fixed RCSLOCALID buffer overflow (by making an overflow condition fatal).

Spotted by:	John Johnson <bio.metrix@gte.net>
This commit is contained in:
ru 2002-02-08 11:57:43 +00:00
parent 3ecf840b66
commit d9ac691aac

View File

@ -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;