Skip to content

Fixes potential crash for Encoder.Convert#20271

Merged
akoeplinger merged 1 commit intomono:masterfrom
jeffgoku:patch-1
Aug 31, 2020
Merged

Fixes potential crash for Encoder.Convert#20271
akoeplinger merged 1 commit intomono:masterfrom
jeffgoku:patch-1

Conversation

@jeffgoku
Copy link
Contributor

GetByteCount will not return the right number of bytes needed, so GetBytes in Encoder.Convert will crash for some input

GetByteCount will not return the right number of bytes needed, so GetBytes in Encoder.Convert will crash for some input
@akoeplinger
Copy link
Member

@monojenkins build

@akoeplinger akoeplinger merged commit 3068942 into mono:master Aug 31, 2020
@sevoku
Copy link
Member

sevoku commented Oct 27, 2020

@akoeplinger could this be backported to 2020-02?

@akoeplinger
Copy link
Member

@monojenkins backport to 2020-02

akoeplinger pushed a commit that referenced this pull request Oct 28, 2020
GetByteCount will not return the right number of bytes needed, so GetBytes in Encoder.Convert will crash for some input

Backport of #20271.

Co-authored-by: jeffgoku <jeffreygoku@gmail.com>
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.

3 participants