encoding/base64: Decode panics on short dst #50117
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
An error returned by the
Decode
function.What did you see instead?
A panic. The documentation of the function doesn't say to expect a panic on invalid data.
The text was updated successfully, but these errors were encountered: