summaryrefslogtreecommitdiff
path: root/libusb/os/windows_usb.c
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau+github@gmail.com>2013-10-06 14:23:20 +0200
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>2013-10-06 14:26:25 +0200
commit3d84bba0a7ff2d9e28f5aac43775f9a267caa4e8 (patch)
treee2ba96cd602d56b413c4b64e6d509e9f51136e42 /libusb/os/windows_usb.c
parenta9cd54f24d566062a461d27f615365f41a3d11e8 (diff)
downloadlibusb-3d84bba0a7ff2d9e28f5aac43775f9a267caa4e8.tar.gz
examples: check value returned by ftell()
Problem detected by the Coverity tool CID 1042546 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)3. negative_returns: "initial_pos" is passed to a parameter that cannot be negative. fseek(3) can't be called with a negative offset with SEEK_SET
Diffstat (limited to 'libusb/os/windows_usb.c')
0 files changed, 0 insertions, 0 deletions