Date: Tue, 29 Oct 2002 17:18:58 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ulpt.c Message-ID: <200210300118.g9U1Iwao077432@repoman.freebsd.org>
index | next in thread | raw e-mail
iedowse 2002/10/29 17:18:58 PST
Modified files:
sys/dev/usb ulpt.c
Log:
Check for errors and zero-length transfers in the ulpt_input() input
pipe callback function, and just return if these cases are detected.
Without these checks, the ulpt driver may cause an infinite loop
of failing USB transfers that can hang the whole machine. This makes
printing work for me on a HP DJ950C printer.
Revision Changes Path
1.50 +6 -0 src/sys/dev/usb/ulpt.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210300118.g9U1Iwao077432>
