#82 ✓resolved
Martin S.

Use correct types in AFC read/write signatures for length

Reported by Martin S. | November 4th, 2009 @ 11:26 AM | in 1.0 Release

teuf just spotted this on IRC and it is actually something to better cleanup before we hit 1.0.

The afc_file_read() and afc_file_write() functions use "int length" for the passed buffer and a "uint32_t *bytes" to return bytes read/written.

However the AFCPacket stores sizes as uint64_t. We should fix the signature to support this as it probably leads to funky chaos while operating on huge files.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Referenced by