mdsteele / rust-msi

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

Failed to open malformed MSI #27

Open NtWriteCode opened 4 months ago

NtWriteCode commented 4 months ago

I found this MSI, where rust package fails even to open the package. Microsoft's Orca tool can perfectly handle this, however I guess it's malformed somewhere. The panic is the following: Custom { kind: InvalidData, error: "Property set string not null-terminated" }

I'm a bit rookie in Rust to dig into the exact issue, however I'll try to debug things in the upcoming days :)

I just attached the problematic MSI, but be careful, it is malicious.

infected.zip