Re: upl(4) buffer length validation

2011-03-21 Thread Loganaden Velvindron
Hi, Jasper pointed out that the minimum length should be 1. Plese test ! Index: src/sys/dev/usb/if_upl.c === RCS file: /cvs/src/sys/dev/usb/if_upl.c,v retrieving revision 1.47 diff -u -p -r1.47 if_upl.c --- src/sys/dev/usb/if_upl.c

upl(4) buffer length validation

2011-03-19 Thread Loganaden Velvindron
Hi, This discards frames that are less than 0, and those that are more than the maximum possible buffer size. Please test. As usual, any feedback welcomed. Index: src/sys/dev/usb/if_upl.c === RCS file: