cvs commit: src/sys/dev/usb ukbd.c

Alexander Kabaev kan at
Mon Nov 5 11:51:13 PST 2007

kan         2007-11-05 19:51:12 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ukbd.c 
  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.
  Revision  Changes    Path
  1.75      +4 -3      src/sys/dev/usb/ukbd.c

More information about the cvs-src mailing list