-
Notifications
You must be signed in to change notification settings - Fork 720
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
[BUG] - Several potential bugs found using an automated code analysis tool #5926
Comments
Thank you! |
One comment from our internal Slack channel that may be of interest to you:
|
indeed, the AI initially gave me 30 potential issues and I manually removed
the bogus ones, I didn't notice that one (im new to haskell)
…On Wed, Jul 31, 2024, 10:36 PM Erik de Castro Lopo ***@***.***> wrote:
One comment from our internal Slack channel that may be of interest to you:
I can’t comment on other items, as I have not looked at them, but item 4
seems bogus, unfortunately: The AI didn’t recognize bracket.
—
Reply to this email directly, view it on GitHub
<#5926 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBJ2JZ2H5DCCSSN74MHMLLZPGUKTAVCNFSM6AAAAABLSFFSY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRHA4TMOJTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The
Where the |
@erikd @kevinhammond ahh, It seems you have confused the meaning of the last column "More Details" on that issue in line number 4. That code that uses "bracket" is actually the suggestion that my AI came up with. The actual Cardano code does not use a bracket and leaks the handle. I also updated the file and line number where it occurs (it was on shutdown.hs) |
For the network related things:
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
Internal/External
External
Area
Other
Summary
I ran a novel AI-based code-analysis tool on the entire cardano node directory (I'm the tool maker, its not released yet) and found 14 potential issues.
Steps to reproduce
I didn't want to create an issue for each. The issue list is in this Google Sheet.
I also uploaded it as issues cardano-node.csv but the CSV could be outdated as the Google Sheet is editable.
Scan Date: 7/27/2024
Scanned code: https://github.com/IntersectMBO/cardano-node/tree/1e6f75101b5a637169efd8cb29026ad23ba4a427/cardano-node/src/Cardano/Node
If this feedback is useful, I can gladly run the tool on other directories, even on the entire repository.
The text was updated successfully, but these errors were encountered: