diff options
| author | khorben <khorben@NetBSD.org> | 2018-01-04 00:09:12 +0000 |
|---|---|---|
| committer | khorben <khorben@NetBSD.org> | 2018-01-04 00:09:12 +0000 |
| commit | 4e883f97bf37e07ffa3bef762789e90190c50abe (patch) | |
| tree | ffde5196e1281c94b6e7acd31847370da87b6f69 /sys/dev/dm/dm_dev.c | |
| parent | 84973b70e0ab64e91ee21b082bf01f085633db8e (diff) | |
Fix off-by-one when calling snprintf(9) in hdafg_getdev()
This is actually harmless, since:
- the offset is too short rather than too long (no overflow)
- the struct audio_device comes from userland (no information leak)
"looks good to me" nat@
Diffstat (limited to 'sys/dev/dm/dm_dev.c')
0 files changed, 0 insertions, 0 deletions
