Re: [Libusbx-devel] libusbx bug in handle_bulk_completion - wrong pointer computations

2014-02-10 Thread Erik Rull
Hi Hans, Hans de Goede wrote: > Hi Erik, > > On 01/21/2014 10:42 AM, Erik Rull wrote: >> Hi all, >> >> getting a tpriv->urbs NULL pointer causes negative urb_idx and successively >> an >> undefined behavior! This happens when removing a USB device during a transfer >> with a chance of ~ 20%. > >

Re: [Libusbx-devel] libusbx bug in handle_bulk_completion - wrong pointer computations

2014-02-10 Thread Hans de Goede
Hi Erik, On 01/21/2014 10:42 AM, Erik Rull wrote: > Hi all, > > getting a tpriv->urbs NULL pointer causes negative urb_idx and successively an > undefined behavior! This happens when removing a USB device during a transfer > with a chance of ~ 20%. Thanks for looking into this, the big question