Bug 145347

Summary: spurious warning with USBDEVFS_REAPURB
Product: [Developer tools] valgrind Reporter: Samuel Thibault <samuel.thibault>
Component: generalAssignee: Nicholas Nethercote <njn>
Status: RESOLVED FIXED    
Severity: normal CC: njn, tom
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: wanted3.5.0   
Platform: Unlisted Binaries   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: fix USBDEVFS_REAPURB

Description Samuel Thibault 2007-05-12 14:38:49 UTC
Hi,

ioctl(fd, USBDEVFS_REAPURB, arg)

doesn't read the pointer pointed to by arg, it _fills_ it. Here is a patch.
Comment 1 Samuel Thibault 2007-05-12 14:39:50 UTC
Created attachment 20548 [details]
fix USBDEVFS_REAPURB
Comment 2 Tom Hughes 2009-07-27 16:17:00 UTC
This was fixed as part of a big URB handling cleanup in r10286.