Skip to content

rite: parse BIGINT pool entry length as u8 - #93

Open
Dahrkael wants to merge 1 commit into
mrubyedge:masterfrom
Dahrkael:master
Open

Dahrkael wants to merge 1 commit into
mrubyedge:masterfrom
Dahrkael:master

Conversation

@Dahrkael

Copy link
Copy Markdown

The pool entry stores a 1-byte digit count, not a u16, so reading it as a u16 produced an out-of-bounds slice. Read it as a byte and bounds-check the payload.

The pool entry stores a 1-byte digit count, not a u16, so reading it as
a u16 produced an out-of-bounds slice. Read it as a byte and bounds-check
the payload.
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.

1 participant