Commit c444ec30 authored by Udalov Max's avatar Udalov Max Committed by Brad Fitzpatrick
Browse files

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a84ac189
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment