]> Cypherpunks repositories - gostls13.git/commit
test: make issue8606b test more robust
authorKeith Randall <khr@golang.org>
Thu, 18 Nov 2021 00:12:43 +0000 (16:12 -0800)
committerKeith Randall <khr@golang.org>
Thu, 18 Nov 2021 02:53:02 +0000 (02:53 +0000)
commitd8f7a64519695f037cce8696c5c3b7216fd4a680
treec0b7480e17f2801988b0d2ac056f3b9f71ee5c0c
parentf1cc5294290b33889d48a3185b3c3711531881e0
test: make issue8606b test more robust

Use actual unmapped memory instead of small integers to make
pointers that will fault when accessed.

Fixes #49562

Change-Id: I2c60c97cf80494dd962a07d10cfeaff6a00f4f8e
Reviewed-on: https://go-review.googlesource.com/c/go/+/364914
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
test/fixedbugs/issue8606b.go