Skip to content

Fix variant type blob unpack bug#164

Merged
heifner merged 1 commit into
EOSIO:masterfrom
MrToph:master
Aug 20, 2020
Merged

Fix variant type blob unpack bug#164
heifner merged 1 commit into
EOSIO:masterfrom
MrToph:master

Conversation

@MrToph

@MrToph MrToph commented Aug 19, 2020

Copy link
Copy Markdown
Contributor

Hi, I run a fork of EOSIO that (de-)serializes the fc::blob variant_type and came across this error.

The unpack function is missing a return; in the switch which makes it fall through to the default case for the blob variant type. Which then crashes with the Unknown Variant Type 8 error.

@heifner heifner merged commit ff56d25 into EOSIO:master Aug 20, 2020
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