Skip to content

Unpacking.UnpackObject throws several unexpected exceptions #311

@Metalnem

Description

@Metalnem

Unpacking.UnpackObject documentation states that this method can throw UnpackException and MessageTypeException, but it also throws several other unexpected exception types:

  • InvalidMessagePackStreamException
  • MessageNotSupportedException
  • OverflowException

You can run the following code to reproduce it (the path variable should contain the path to one of the extracted files from the attached archive):

using (var file = File.OpenRead(path))
{
  Unpacking.UnpackObject(file);
}

Found via SharpFuzz.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDetected as bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions