Bug 145347 - spurious warning with USBDEVFS_REAPURB
Summary: spurious warning with USBDEVFS_REAPURB
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Other
: NOR normal
Target Milestone: wanted3.5.0
Assignee: Nicholas Nethercote
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 14:38 UTC by Samuel Thibault
Modified: 2009-07-27 16:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
fix USBDEVFS_REAPURB (866 bytes, patch)
2007-05-12 14:39 UTC, Samuel Thibault
Details

Note You need to log in before you can comment on or make changes to this bug.
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.