diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2007-11-05 19:51:12 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2007-11-05 19:51:12 +0000 |
commit | 907aa905189abde933efd20815498b236833c68e (patch) | |
tree | 8e0afaeef5eac8f184058c0966aef168fa743d1e /sys/cddl | |
parent | 171eb887e91447ab91b01f60c5c39a55fec38a26 (diff) | |
download | src-907aa905189abde933efd20815498b236833c68e.tar.gz src-907aa905189abde933efd20815498b236833c68e.zip |
Do not pass an address to local stack variable to usbd_set_report_async.
Allocate space in keyboard state structure instead to prevent random byte
from possibly overwritten stack location frombeing shoved into USB device
when transfer actually takes place.
This fixes at least one instance of LEDs not working with USB keyboards.
Notes
Notes:
svn path=/head/; revision=173372
Diffstat (limited to 'sys/cddl')
0 files changed, 0 insertions, 0 deletions