[Issue] MSI files with dotnetreactor crash with CFB deserialization #1

Closed
opened 2026-01-29 21:16:25 +00:00 by claunia · 0 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Mar 29, 2024).

Confirmed crash with "ccc-core-implementation.msi". This occurs at currentSector = binary.DIFATSectorNumbers[i]; in CFB.Deserializer.cs.

Exception details:

System.IndexOutOfRangeException
  HResult=0x80131508
  Message=Index was outside the bounds of the array.
  Source=SabreTools.Serialization
  StackTrace:
   at SabreTools.Serialization.Streams.CFB.Deserialize(Stream data) in SabreTools.Serialization.Streams\CFB.cs:line 143
   at SabreTools.Serialization.Wrappers.CFB.Create(Stream data) in SabreTools.Serialization.Wrappers\CFB.cs:line 46
   at BinaryObjectScanner.Utilities.WrapperFactory.CreateWrapper(SupportedFileType fileType, Stream data) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\BinaryObjectScanner\Utilities\WrapperFactory.cs:line 23
   at Test.Printer.PrintFileInfo(String file, Boolean json, Boolean debug) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\Test\Printer.cs:line 70
   at Test.Printer.PrintPathInfo(String path, Boolean json, Boolean debug) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\Test\Printer.cs:line 26
   at Test.Program.Main(String[] args) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\Test\Program.cs:line 53
Originally created by @TheRogueArchivist on GitHub (Mar 29, 2024). Confirmed crash with "ccc-core-implementation.msi". This occurs at ``currentSector = binary.DIFATSectorNumbers[i];`` in CFB.Deserializer.cs. Exception details: ``` System.IndexOutOfRangeException HResult=0x80131508 Message=Index was outside the bounds of the array. Source=SabreTools.Serialization StackTrace: at SabreTools.Serialization.Streams.CFB.Deserialize(Stream data) in SabreTools.Serialization.Streams\CFB.cs:line 143 at SabreTools.Serialization.Wrappers.CFB.Create(Stream data) in SabreTools.Serialization.Wrappers\CFB.cs:line 46 at BinaryObjectScanner.Utilities.WrapperFactory.CreateWrapper(SupportedFileType fileType, Stream data) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\BinaryObjectScanner\Utilities\WrapperFactory.cs:line 23 at Test.Printer.PrintFileInfo(String file, Boolean json, Boolean debug) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\Test\Printer.cs:line 70 at Test.Printer.PrintPathInfo(String path, Boolean json, Boolean debug) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\Test\Printer.cs:line 26 at Test.Program.Main(String[] args) in C:\Users\Null\Desktop\GIT\BinaryObjectScanner\Test\Program.cs:line 53 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/SabreTools.Serialization#1