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

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ukbd.c 
  Log:
  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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to