-
Notifications
You must be signed in to change notification settings - Fork 388
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
cmd/gnoland: execBalancesExport leaks the opened file and at no point closes it #3032
Labels
security
Security-sensitive issue
Comments
Thanks for the report, @odeke-em. We're looking into it. |
odeke-em
added a commit
to odeke-em/gno
that referenced
this issue
Dec 7, 2024
Ensures that the opened file is not leaked and closed after use. Fixes gnolang#3032
I've mailed out PR #3294. |
thehowl
pushed a commit
that referenced
this issue
Dec 7, 2024
Ensures that the opened file is not leaked and closed after use. Fixes #3032
omarsy
pushed a commit
to TERITORI/gno
that referenced
this issue
Dec 7, 2024
Ensures that the opened file is not leaked and closed after use. Fixes gnolang#3032
Villaquiranm
pushed a commit
to Villaquiranm/gno
that referenced
this issue
Dec 9, 2024
Ensures that the opened file is not leaked and closed after use. Fixes gnolang#3032
r3v4s
pushed a commit
to gnoswap-labs/gno
that referenced
this issue
Dec 10, 2024
Ensures that the opened file is not leaked and closed after use. Fixes gnolang#3032
albttx
pushed a commit
that referenced
this issue
Jan 10, 2025
Ensures that the opened file is not leaked and closed after use. Fixes #3032
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reading through this code
gno/gno.land/cmd/gnoland/genesis_balances_export.go
Lines 29 to 78 in 2838ad1
at no point is the file that's opened per
gno/gno.land/cmd/gnoland/genesis_balances_export.go
Line 54 in 2838ad1
ever closed
The text was updated successfully, but these errors were encountered: