summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-01-07 19:26:47 +0000
committerwpaul <wpaul@FreeBSD.org>2004-01-07 19:26:47 +0000
commit84188165535e053e9d542836d8b4e1326779ac2c (patch)
tree9d4053233c155ca7553ab808c4fbfe444dc27180 /libexec
parent8b6f2b1c4029d3e93bcd47c87cea4984749b9abf (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud