mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Don't read the byte at *argv[strlen(*argv) + 1].
PR: 71743
This commit is contained in:
parent
af8b19780a
commit
7f5685bb49
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ build(char *path, mode_t omode)
|
|||
else if (p[0] != '/')
|
||||
continue;
|
||||
*p = '\0';
|
||||
if (p[1] == '\0')
|
||||
if (!last && p[1] == '\0')
|
||||
last = 1;
|
||||
if (first) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue