diff options
| author | Ian Lance Taylor <iant@golang.org> | 2021-04-12 10:02:37 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2021-04-12 17:32:47 +0000 |
| commit | 8b859be9c3fd1068b659afa1db76dadb210c63de (patch) | |
| tree | 3e4c7fafff20ca863244128529e5f5a4577c4ff2 /src/internal/execabs | |
| parent | 2fa7163b06a1b483598eb0ee827c78ef0d32ba33 (diff) | |
| download | go-8b859be9c3fd1068b659afa1db76dadb210c63de.tar.xz | |
internal/poll: ensure that newPoolPipe doesn't return a nil pointer
The function could occasionally return a nil pointer as a non-nil
interface, confusing the calling code.
Fixes #45520
Change-Id: Ifd35613728efa2cee9903177e85d369155074804
Reviewed-on: https://go-review.googlesource.com/c/go/+/309429
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Andy Pan <panjf2000@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/internal/execabs')
0 files changed, 0 insertions, 0 deletions
