Allow ReadAll only if explicit allowed #13
Labels
No Label
breaking
bug
build
duplicate
enhancement
feature
help wanted
invalid
question
skip-changelog
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/gitea-vet#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
only allow it if we explicit allow it if we put a //allow ReadAll in fromt of
ioutil.ReadAll
since it can fill up memory just to easy ...Just something to note for the upcoming 1.16 release of Go.
https://tip.golang.org/doc/go1.16#ioutil