Skip to content

#542: Add a warning note for the usage of MessageUnpacker.readPayloadAsReference#546

Merged
xerial merged 1 commit intomsgpack:developfrom
xerial:fix-buffer-access
Feb 15, 2021
Merged

#542: Add a warning note for the usage of MessageUnpacker.readPayloadAsReference#546
xerial merged 1 commit intomsgpack:developfrom
xerial:fix-buffer-access

Conversation

@xerial
Copy link
Member

@xerial xerial commented Feb 14, 2021

No description provided.

Copy link
Member

@komamitsu komamitsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user of this method can know the buffer length encoded in the header. Even with a wrong length in header encoded by an attacker, it should be safe as long as the user of this method implements safely.

@xerial xerial merged commit 4976b7f into msgpack:develop Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants