HomeFreeBSD

Do not pass an address to local stack variable to usbd_set_report_async.
rS173372Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
kanAuthored on
Parents
rS173371: Remove "zfs:" prefix from lock and condvar names and also skip non-letter
Branches
Unknown
Tags
Unknown

Event Timeline