mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue