msgpack-cli
msgpack-cli copied to clipboard
Unpacking.UnpackObject throws several unexpected exceptions
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.
Thank you for reporting. This is documentation issue, so I fix it in the next release.