security: fix CVE-2022-41716 [1.19 backport] · Issue #56328 · golang/go

@neild requested issue #56284 to be considered for backport to the next 1.19 minor release. @gopherbot please open backport issues (Sorry, I keep getting the process on this wrong. This issue is fo...