diff options
author | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2013-10-06 14:23:20 +0200 |
---|---|---|
committer | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2013-10-06 14:26:25 +0200 |
commit | 3d84bba0a7ff2d9e28f5aac43775f9a267caa4e8 (patch) | |
tree | e2ba96cd602d56b413c4b64e6d509e9f51136e42 /libusb/os/windows_usb.c | |
parent | a9cd54f24d566062a461d27f615365f41a3d11e8 (diff) | |
download | libusb-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