Skip to content

Unpacking.UnpackObject throws several unexpected exceptions #311

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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