]> Cypherpunks repositories - gostls13.git/commit
archive: error check when parse archive
authorJames Yang <26634873@qq.com>
Fri, 6 Jan 2023 08:44:28 +0000 (08:44 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 24 Jan 2023 01:02:52 +0000 (01:02 +0000)
commit7135710e01ab86468f23ac412e7f03f49235d5bb
treec3d39a1d24ba2cd479c8221630b44f8ea074009a
parent707f888797c6d37cf5da85e666e992d45f973150
archive: error check when parse archive

Add error check when call `r.parseObject` in `parseArchive`.

Change-Id: Ib1739f25941262593cf63837e272b6ee896d8613
GitHub-Last-Rev: 5a17f9aa2c7406e191a518fdac6cb519a425fd09
GitHub-Pull-Request: golang/go#57624
Reviewed-on: https://go-review.googlesource.com/c/go/+/460755
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
src/cmd/internal/archive/archive.go