libimobiledevice / libimobiledevice-glue

A library with common code used by libraries and tools around the libimobiledevice project
GNU Lesser General Public License v2.1
86 stars 69 forks source link

Fixed 32bit buffer overflow #37

Closed cornejo closed 8 months ago

cornejo commented 8 months ago

Fixed issue where 32 bit buffer is used to store a 64 bit value resulting in truncation.

8 bytes from the 32 bit buffer is subsequently read, resulting in four unrelated adjacent bytes being used in the resultant structure

nikias commented 8 months ago

Merged with e314faac7850ebe9076b7cf5807f87ae6bd122fa.