redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.87k stars 127 forks source link

UImage component should create children using data_range #273

Open dannyp303 opened 1 year ago

dannyp303 commented 1 year ago

The UImageUnpacker creates children using resource.create_child(data=uimage_data[slice:]) rather than resource.create_child(data_range=Range(slice, max_len)) resulting in an inaccurate data offset.