Skip to content

Validate the count field when deserializing StringBuffer/StringBuilder - #14314

Merged
pshipton merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:sbbcount
Jan 18, 2022
Merged

Validate the count field when deserializing StringBuffer/StringBuilder#14314
pshipton merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:sbbcount

Conversation

@JasonFengJ9

Copy link
Copy Markdown
Member

Added a precautionary condition check count >= 0;
Changed InvalidObjectException to StreamCorruptedException to match RI behaviours.

related internal RTC 146534

Signed-off-by: Jason Feng fengj@ca.ibm.com

Added a precautionary condition check count >= 0;
Changed InvalidObjectException to StreamCorruptedException to match RI
behaviours.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants