diff options
| author | riastradh <riastradh@NetBSD.org> | 2022-06-27 03:56:37 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2022-06-27 03:56:37 +0000 |
| commit | 2e975d50a709fb48e081f373125a999daaebff0a (patch) | |
| tree | f1715cf5c6df7519537578f742ff7e34e9cf1c46 /sys/dev/microcode | |
| parent | d96d91ac552a9a1b1e0822bfd05986fda9ab66a6 (diff) | |
ktrace(9): Make sure ktrkuser initializes the full ktr_id member.
strlcpy does not; strncpy does. However, the member must be
NUL-terminated, because kdump uses it, e.g., with printf("%s"), so
expicitly set the last byte to NUL.
Possible fix for a host of sanitizer complaints in syzkaller.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
