Skip to content

fix: add missing null checks in JDBCStore#3123

Open
sakethpanuganti wants to merge 1 commit into
eclipse-ee4j:masterfrom
sakethpanuganti:fix/jdbcstore-null-pointer-guards
Open

fix: add missing null checks in JDBCStore#3123
sakethpanuganti wants to merge 1 commit into
eclipse-ee4j:masterfrom
sakethpanuganti:fix/jdbcstore-null-pointer-guards

Conversation

@sakethpanuganti
Copy link
Copy Markdown

Added null parameter validation in JDBCStore to prevent accidental NullPointerExceptions before argument dereferences.

Null-guard hardening

  • Validate mID before dereference in removeMessage(DestinationUID, SysMessageID, ...).
  • Validate iids and states before array-length access in storeMessage(...).
  • Validate dID alongside mID in getConsumerUIDsInternal(...).

@sonarqubecloud
Copy link
Copy Markdown

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