]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use ReadFull to read fingerprint
authorCherry Zhang <cherryyz@google.com>
Tue, 5 May 2020 17:12:01 +0000 (13:12 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 5 May 2020 18:32:35 +0000 (18:32 +0000)
commit8627b4c9b50138c75cc7730af7f8db692d33451e
treef3ac91689358940d66bcbf5367be337472475fc6
parenta8e83d51a0cc709c836fe8836b10155342aa2ac4
cmd/compile: use ReadFull to read fingerprint

Don't fail on partial read.

May fix #38849.

Change-Id: Icf075d454e1bfe9299b07eea47bbc4d448c3bd5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/232317
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/iimport.go