mdsteele / rust-msi

Rust library for reading/writing Windows Installer (MSI) files
MIT License
58 stars 11 forks source link

Update cfb dependency #17

Closed russellbanks closed 1 year ago

russellbanks commented 1 year ago

When I open a Temurin MSI, I get Malformed MiniFAT (MiniFAT has 606 entries, but root stream has only 605 mini sectors):

msi::open(r"path\to\OpenJDK21U-jre_x64_windows_hotspot_21_35.msi").unwrap();

I've tried with different versions of Temurin but get the same error with different numbers.

There seems to be a potential fix for this in cfb 0.8.0 but this library uses cfb 0.7.3.

To reproduce, here's the link to the MSI:

mdsteele commented 1 year ago

Thanks! I was able to reproduce the error, and I've updated the cfb dependency to the latest version, which seems to fix it. I've just published a new version of msi with the updated dependency.