ipv6: avoid out-of-bounds panic in ICMPFilter Check that ICMPType is in range [0, 255] before indexing the 8-element filter array in ICMPFilter.Accept, Block, and WillBlock. Change-Id: I39f17e80aff45b2cef9c6aeb2bb84c0c6a6a6964 Reviewed-on: https://go-review.googlesource.com/c/net/+/852828 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Damien Neil <dneil@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.