Date: Mon, 5 Nov 2007 19:51:12 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ukbd.c Message-ID: <200711051951.lA5JpDr6018384@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711051951.lA5JpDr6018384>