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

addressed security issues flagged on GitHub. #28

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

ChemMitch
Copy link
Contributor

2 unit tests failed... but they failed before the code change

2 unit tests failed... but they failed before the code change
@ChemMitch ChemMitch merged commit a69fc65 into master Jan 3, 2024
2 of 3 checks passed
@@ -2064,10 +2064,10 @@

if (i != j) {
if (eqvtab[j] < eqvtab[i]) {
eqvtab[j] += eqvtab[i] - 1;
eqvtab[j] += eqvtab[i] - (short)1;

Check failure

Code scanning / CodeQL

Implicit narrowing conversion in compound assignment High

Implicit cast of source type int to narrower destination type short.
eqvtab[i] = j;
} else {
eqvtab[i] += eqvtab[j] - 1;
eqvtab[i] += eqvtab[j] - (short)1;

Check failure

Code scanning / CodeQL

Implicit narrowing conversion in compound assignment High

Implicit cast of source type int to narrower destination type short.
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.

1 participant