RE: [PATCH] usb: gadget: storage: check for valid USB_BULK_GET_MAX_LUN_REQUEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Oct 2011, Paul Zimmerman wrote:

> > From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
> > Sent: Friday, October 14, 2011 7:24 AM
> > 
> > On Fri, 14 Oct 2011, Felipe Balbi wrote:
> > 
> > > For anyone willing to go through a talk with USB-IF, the email for
> > > USB30CV complaints is ssusbcompliance@xxxxxxx
> > 
> > Paul, you have the CV program and the results of the test.  Would you
> > like to file a complaint?
> > 
> > If you prefer, send the test output to me and I'll file a complaint.
> > 
> > Alan Stern
> 
> Hmm. My copy of the BOT spec (admittedly very old) says that the host
> "shall" issue a request with wLength=1.

Exactly.  It says what the host shall do, not what the device shall do.

>  So I think testing that the
> device rejects an invalid request from the host can be construed as
> valid. It does fail the "be strict in what you send, and lenient in
> what you receive" principle, though. But I have no strong objection
> to the test.
> 
> But if you feel strongly about it, I can rerun the test and send you
> the test report.

Yes, please.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux