Even though I originally implemented it, the sanity check removed
by the patch below seems wrong to me...

Tom


--- audio.c.orig        Tue Apr  9 20:49:44 2002
+++ audio.c     Tue Apr  9 20:50:14 2002
@@ -3524,7 +3524,7 @@
                return;

        case PROCESSING_UNIT:
-               if (p1[0] < 13 || p1[0] < 13+p1[6] || p1[0] < 13+p1[6]+p1[11+p1[6]] || 
p1[0] < 13+p1[6]+p1[11+p1[6]]+p1[13+p1[6]+p1[11+p1[6]]]) {
+               if (p1[0] < 13 || p1[0] < 13+p1[6] || p1[0] < 13+p1[6]+p1[11+p1[6]]) {
                        printk(KERN_ERR "usbaudio: unit %u: invalid PROCESSING_UNIT 
descriptor\n", unitid);
                        return;
                }

_______________________________________________________________

Sponsored by:
Looking for hip toys and fun scwag.  There is no better place
then the good friends at ThinkGeek. http://www.ThinkGeek.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to