Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 8 commits into from Jan 12, 2021

Conversation

shollyman
Copy link
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 as a code owner 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
bigquery/inserter_test.go Outdated Show resolved Hide resolved
bigquery/inserter_test.go Outdated Show resolved Hide resolved
@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
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