• Jeff Mahoney's avatar
    [PATCH] USB: Fix for kl5kusb105 driver · d890d1a6
    Jeff Mahoney authored
    I tried using the kl5kusb105 driver for a 3Com PalmConnect USB device I
    had lying around.
    
    It oopses during device detection. There is a nested loop using the same
    loop counter as the outer loop - causing the code after the nested loop
    is first executed to have an invalid counter. The counter is then used
    as an array index, causing a NULL deref.
    
    Fix attached.
    d890d1a6
kl5kusb105.c 30 KB