diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-01-07 19:26:47 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-01-07 19:26:47 +0000 |
commit | 84188165535e053e9d542836d8b4e1326779ac2c (patch) | |
tree | 9d4053233c155ca7553ab808c4fbfe444dc27180 /libexec | |
parent | 8b6f2b1c4029d3e93bcd47c87cea4984749b9abf (diff) | |
download | FreeBSD-src-84188165535e053e9d542836d8b4e1326779ac2c.zip FreeBSD-src-84188165535e053e9d542836d8b4e1326779ac2c.tar.gz |
It appears drivers may call NdisWriteErrorLogEntry() with locks
held. However, if we need to translate a unicode message table message,
ndis_unicode_to_ascii() might malloc() some memory, which causes
a warning from witness. Avoid this by using some stack space to hold
the translated message. (Also bounds check to make sure we don't
overrun the stack buffer.)
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions