mdsteele / rust-cab

Rust library for encoding/decoding Windows cabinet (.cab) files
MIT License
15 stars 8 forks source link

fix: Fixed bug with unsorted files #27

Closed ikrivosheev closed 8 months ago

ikrivosheev commented 9 months ago

@mdsteele hello! I found a bug. The specification says:

The CFFILE structure entries in a cabinet are ordered by iFolder field value...

I found an example where this is not true. Utilities like gcab and cabextract work with this. This will fixed it.

mdsteele commented 8 months ago

Thanks!