net: IPNet.String panics with nil receiver #50271
Labels
FrozenDueToAge
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.15.5
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?
panic, if IPNet is nil
What did you expect to see?
IPNet.String() should not panic, even IPNet is nil
What did you see instead?
The text was updated successfully, but these errors were encountered: