Skip to content

fix(bigquery): address possible panic due to offset checking in handleInsertErrors #3524

Merged
shollyman merged 8 commits intogoogleapis:masterfrom
shollyman:issue-3519-inserterrors
Jan 12, 2021
Merged

fix(bigquery): address possible panic due to offset checking in handleInsertErrors #3524
shollyman merged 8 commits intogoogleapis:masterfrom
shollyman:issue-3519-inserterrors

Conversation

@shollyman
Copy link
Copy Markdown
Contributor

External reporter identified case where improper bounds checking can
trigger panic when comparing the index value from structured error
response.

Fixes: #3519

External reporter identified case where improper bounds checking can
cause panic when comparing the index value from structured error
response.

Fixes: googleapis#3519
@shollyman shollyman requested a review from a team January 11, 2021 19:50
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 11, 2021
@tbpg tbpg changed the title fix: address possible panic due to offset checking in handleInsertErrors fix(bigquery): address possible panic due to offset checking in handleInsertErrors Jan 11, 2021
Copy link
Copy Markdown
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM

@shollyman shollyman added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 12, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 12, 2021
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the BigQuery API. label Jan 12, 2021
@shollyman shollyman added the automerge Merge the pull request once unit tests and other checks pass. label Jan 12, 2021
@shollyman shollyman merged commit 5288511 into googleapis:master Jan 12, 2021
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 12, 2021
@shollyman shollyman deleted the issue-3519-inserterrors branch January 12, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bigquery: handleInsertErrors: equality check should be >=, not >

4 participants