Skip to content

Fix[JsonDecoderUtil]: validate JSON payload length - #154

Open
678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:261021_validate_json_payload_length
Open

678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:261021_validate_json_payload_length

Conversation

@678098

@678098 678098 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

JsonDecoderUtil.getJsonFromInputStream now throws IOException when:

  • the payload is empty
  • the padding value is larger than the payload

@678098
678098 requested a review from a team as a code owner October 21, 2026 19:11
@678098
678098 requested a review from kaikulimu October 21, 2026 19:11
@678098
678098 force-pushed the 261021_validate_json_payload_length branch from ede9149 to 1eaee18 Compare October 21, 2026 20:59
JsonDecoderUtil.getJsonFromInputStream now throws IOException when:
- the payload is empty
- the padding value is larger than the payload

Signed-off-by: Evgeny Malygin <emalygin@bloomberg.net>
@678098
678098 force-pushed the 261021_validate_json_payload_length branch from 1eaee18 to a7143e6 Compare October 21, 2026 21:05

This branch has not been deployed

No deployments
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