Re: [syzbot] divide error in usbnet_start_xmit

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

 



On Tue, Oct 19, 2021 at 12:04:31PM +0200, Oliver Neukum wrote:
> On 19.10.21 11:23, Johan Hovold wrote:
> 
> > Just bail out; what can you do with a 1-byte packet size? Also compare
> > usbnet_get_endpoints() where such endpoints are ignored.
> 
> OK. We'd accept a 1 now, though. Can you think of a sensible lower bound?

You can continue accepting 1 if you want, just reject zero and abort
probe.

Johan



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

  Powered by Linux