summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_spec.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-11-05 19:51:12 +0000
committerkan <kan@FreeBSD.org>2007-11-05 19:51:12 +0000
commit22aca79e7beacb3d3456fdc1c02ebf96afbdb1ed (patch)
tree8e0afaeef5eac8f184058c0966aef168fa743d1e /lib/libthr/thread/thr_spec.c
parent34e2d48eab712113151e3c5ff99b2e7fcc1dac4c (diff)
downloadFreeBSD-src-22aca79e7beacb3d3456fdc1c02ebf96afbdb1ed.zip
FreeBSD-src-22aca79e7beacb3d3456fdc1c02ebf96afbdb1ed.tar.gz
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.
Diffstat (limited to 'lib/libthr/thread/thr_spec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud