summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2009-11-01 22:09:43 +0100
committerGravatar Matt Colyer2009-11-05 20:45:40 -0800
commit6147eb07bf00770bd5bb09ae905342f0117ff502 (patch)
treef29b4a93f51448c94f004b95cc361c9f0e1f76fa /autogen.sh
parent8e489a46965bbc3683cec7698ccaf71bb5855d2a (diff)
downloadlibimobiledevice-6147eb07bf00770bd5bb09ae905342f0117ff502.tar.gz
libimobiledevice-6147eb07bf00770bd5bb09ae905342f0117ff502.tar.bz2
make sure 'length' is >=0 in afc_file_read
trying to read a negative amount of data doesn't make much sense, and the returned 'bytes' value will overflow if we try to do that. Just treat negative length values as an invalid argument. An alternative way of handling it would be to silently return OK/0 bytes read.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions