DragonFly commits List (threaded) for 2012-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Attempt to fix illegal xfer buffer in ulpt*
commit 6e1e4b4f074e68f94f5e54bbcfa85ce416b91511
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Mon May 7 11:41:27 2012 -0700
kernel - Attempt to fix illegal xfer buffer in ulpt*
Use usbd_alloc_buffer() to allocate the dummy input buffer for reading
status from the printer instead of passing a (possibly badly misaligned or
illegally addressed) buffer embedded in the softc.
This appears to fix numerous issues with ulpt on 64-bit systems.
Summary of changes:
sys/dev/usbmisc/ulpt/ulpt.c | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e1e4b4f074e68f94f5e54bbcfa85ce416b91511
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]