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

Backport of Vault-3991 Code Scanning Alerts Changes into release/1.9.x #13670

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #13667 to be assessed for backporting due to the inclusion of the label backport/1.9.x.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

The below text is copied from the body of the original PR.


Fixes code scanning alerts

@hashicorp-cla
Copy link

hashicorp-cla commented Jan 14, 2022

CLA assistant check
All committers have signed the CLA.

@vercel vercel bot temporarily deployed to Preview – vault January 14, 2022 23:37 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 14, 2022 23:37 Inactive
@vercel vercel bot temporarily deployed to Preview – vault January 15, 2022 00:03 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 15, 2022 00:03 Inactive
@akshya96 akshya96 requested review from a team January 15, 2022 00:04
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 00:24 Inactive
@vercel vercel bot temporarily deployed to Preview – vault January 20, 2022 00:24 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 00:48 Inactive
@vercel vercel bot temporarily deployed to Preview – vault January 20, 2022 17:45 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 17:45 Inactive
@vercel vercel bot temporarily deployed to Preview – vault January 20, 2022 18:24 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 18:24 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 20:03 Inactive
@vercel vercel bot temporarily deployed to Preview – vault January 20, 2022 20:03 Inactive
@akshya96 akshya96 force-pushed the backport/vault3991CodeScanningAlerts/trivially-glad-guppy branch from 17789d3 to 62b9bf6 Compare January 20, 2022 23:46
@vercel vercel bot temporarily deployed to Preview – vault January 20, 2022 23:46 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 23:46 Inactive
@akshya96 akshya96 force-pushed the backport/vault3991CodeScanningAlerts/trivially-glad-guppy branch from 62b9bf6 to 45149f8 Compare January 20, 2022 23:47
@vercel vercel bot temporarily deployed to Preview – vault January 20, 2022 23:49 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 20, 2022 23:49 Inactive
@@ -10,6 +10,7 @@ import (
"strings"
"time"

"github.com/hashicorp/vault/sdk/helper/consts"
Copy link
Collaborator

Choose a reason for hiding this comment

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

For 1.9 we should be using math.MaxInt, it's built with Go 1.17

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed it now

@mladlow mladlow added this to the 1.9.3 milestone Jan 21, 2022
@vercel vercel bot temporarily deployed to Preview – vault January 21, 2022 18:01 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook January 21, 2022 18:01 Inactive
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.

None yet

5 participants