]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.22] net: check SkipAdditional error result
authorIan Lance Taylor <iant@golang.org>
Thu, 11 Apr 2024 21:36:25 +0000 (14:36 -0700)
committerDavid Chase <drchase@google.com>
Wed, 1 May 2024 15:43:29 +0000 (15:43 +0000)
commit93d8777d244962d1b706c0b695c8b72e9702577e
tree2fe30847e1b7e44673a12a9315e369125770aa9f
parent3f4af1ff0e0c3a83bc48faee3d1f0282ef4d02f2
[release-branch.go1.22] net: check SkipAdditional error result

This will avoid a potential endless loop for a corrupt DNS packet.

For #66754
Fixes #67040

Change-Id: I46591b3f7695bcc88d2312833e45955f8c129d2b
Reviewed-on: https://go-review.googlesource.com/c/go/+/578375
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
(cherry picked from commit ddfab21e464b9b4c15fe3dc97eb5d93a4932f434)
Reviewed-on: https://go-review.googlesource.com/c/go/+/581816
Reviewed-by: David Chase <drchase@google.com>
src/net/dnsclient_unix.go