Skip to content

fix(fdb): reject Conf RPCs with missing location - #629

Open
sfc-gh-ikryvanos wants to merge 1 commit into
mainfrom
fix/fdb-conf-nil-location-check
Open

fix(fdb): reject Conf RPCs with missing location#629
sfc-gh-ikryvanos wants to merge 1 commit into
mainfrom
fix/fdb-conf-nil-location-check

Conversation

@sfc-gh-ikryvanos

Copy link
Copy Markdown
Collaborator

Read/Write/Delete dereferenced req.Location without a nil check, so a request that omitted the location field caused a nil-pointer panic in the server. Validate that location is present and return InvalidArgument instead. Adds a regression test covering all three RPCs.

Read/Write/Delete dereferenced req.Location without a nil check, so a
request that omitted the location field caused a nil-pointer panic in the
server. Validate that location is present and return InvalidArgument
instead. Adds a regression test covering all three RPCs.

Co-authored-by: Cursor <cursoragent@cursor.com>

@snowflake-security-bot snowflake-security-bot 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.

Snowflake Security Review

Security grade: A — Passed

This PR was classified as LOW risk by the automated pre-screen.

@snowflake-security-bot snowflake-security-bot 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.

Snowflake Security Review

Security grade: A — Passed

This PR was classified as LOW risk by the automated pre-screen.

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