Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [8e489a46965bbc3683cec7698ccaf71bb5855d2a] by Christophe Fergeau

Revision 8e489a46965bbc3683cec7698ccaf71bb5855d2a, committed by Christophe Fergeau · November 6th, 2009 @ 04:45 AM

make sure 'length' is >=0 in afc_file_write

trying to write a negative amount of data doesn't make much sense, and bad
things will happen 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 written.
http://github.com/MattColyer/libiphone/commit/8e489a46965bbc3683cec...

1 changed file

  • M src/AFC.c