diff options
| author | Udalov Max <re.udalov@gmail.com> | 2019-07-03 23:31:50 +0300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-11-08 18:00:31 +0000 |
| commit | c444ec308506463bd4ab3226c6aab55746347780 (patch) | |
| tree | b1764ecb142508f061ffedca86c0027b3c705f32 /src/runtime/mpallocbits.go | |
| parent | a84ac18936bb60f5037b84ccc47ae5f591f7e1a1 (diff) | |
| download | go-c444ec308506463bd4ab3226c6aab55746347780.tar.xz | |
encoding/binary: make Read return an error when data is not a pointer
Make binary.Read return an error when passed `data` argument is not
a pointer to a fixed-size value or a slice of fixed-size values.
Fixes #32927
Change-Id: I04f48be55fe9b0cc66c983d152407d0e42cbcd95
Reviewed-on: https://go-review.googlesource.com/c/go/+/184957
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/mpallocbits.go')
0 files changed, 0 insertions, 0 deletions
