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

CodeQL Alert #3 - Security rule js/incorrect-suffix-check triggered #523

Open
jwj019 opened this issue Jul 7, 2023 · 0 comments
Open

CodeQL Alert #3 - Security rule js/incorrect-suffix-check triggered #523

jwj019 opened this issue Jul 7, 2023 · 0 comments

Comments

@jwj019
Copy link
Collaborator

jwj019 commented Jul 7, 2023

Tool: CodeQL (2.13.4)
Rule: js/incorrect-suffix-check
Severity: error (Security level: high)
Description: Incorrect suffix check
Instance reference: refs/heads/main
Instance state: open
Location: dist/sourcemap-register.js @ l1:c4851-l1:c4888
Message: This suffix check is missing a length comparison to correctly handle indexOf returning -1.

CodeQL Alert Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant