mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a obsecure coredump while testing with tmpfs on amd64.
Approved by: re (kensmith)
This commit is contained in:
parent
c6feae7224
commit
544970d64e
1 changed files with 6 additions and 2 deletions
|
|
@ -164,9 +164,13 @@ prt(char *fmt, ...)
|
|||
|
||||
va_start(args, fmt);
|
||||
vfprintf(stdout, fmt, args);
|
||||
if (fsxlogf)
|
||||
vfprintf(fsxlogf, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
if (fsxlogf) {
|
||||
va_start(args, fmt);
|
||||
vfprintf(fsxlogf, fmt, args);
|
||||
va_end(args);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue