Skip to content

fix(v6): add defensive checks to JSON deserialization - #435

Merged
bevzzz merged 2 commits into
v6from
v6-fix-NPE-no-properties
Jul 28, 2025
Merged

fix(v6): add defensive checks to JSON deserialization#435
bevzzz merged 2 commits into
v6from
v6-fix-NPE-no-properties

Conversation

@bevzzz

@bevzzz bevzzz commented Jul 28, 2025

Copy link
Copy Markdown
Collaborator

If a collection has no properties, trying to read "properties" as JSON array will produce a NPE. This PR adds additional checks to that part of the code.

@bevzzz
bevzzz requested a review from Dabz July 28, 2025 12:48
@bevzzz bevzzz self-assigned this Jul 28, 2025

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@bevzzz
bevzzz merged commit 032d30a into v6 Jul 28, 2025
2 checks passed
@bevzzz
bevzzz deleted the v6-fix-NPE-no-properties branch July 28, 2025 13:18
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