-
Notifications
You must be signed in to change notification settings - Fork 76
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
Minor SAST warnings #3419
Labels
Milestone
Comments
|
AliceInHunterland
added a commit
that referenced
this issue
May 21, 2024
Prevents prevHeader to be nil in the else branch. Refs #3419 Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland
added a commit
that referenced
this issue
May 21, 2024
Prevent the risk of a division by zero error when accessing the `o.MainCfg.NeoFS.Nodes[index]` array Close #3419 Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland
added a commit
that referenced
this issue
May 21, 2024
Prevent the risk of a division by zero error when accessing the `o.MainCfg.NeoFS.Nodes[index]` array. Close #3419 Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland
added a commit
that referenced
this issue
May 21, 2024
prevHeader is never nil. Refs #3419 Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland
added a commit
that referenced
this issue
May 21, 2024
Prevent the risk of a division by zero error when accessing the `o.MainCfg.NeoFS.Nodes[index]` array. Close #3419 Signed-off-by: Ekaterina Pavlova <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I have run https://svace.pages.ispras.ru/svace-website/en/ against neo-go codebase and here are some of the issues found. I think most of them are OK (I ignored issues such as having empty set of oracles in the oracle post-persist)
After discussion of @roman-khimov, I decided to create it here, both seems minor.
neo-go/pkg/core/blockchain.go
Line 2984 in a13dc59
neo-go/pkg/services/oracle/request.go
Line 163 in a13dc59
The text was updated successfully, but these errors were encountered: