]> Cypherpunks repositories - gostls13.git/commit
internal/xcoff: use saferio to read string table
authorIan Lance Taylor <iant@golang.org>
Thu, 23 Jun 2022 23:36:08 +0000 (16:36 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 17 Aug 2022 03:11:57 +0000 (03:11 +0000)
commit0d8efa6e842169e61cbe343441092b6f7c9b886c
tree7cdfc6b464570bbe02d665901d8281be1c730893
parent7adfa82726280371bb4dfc710dc4168dfd9de703
internal/xcoff: use saferio to read string table

No test case because the problem can only happen for invalid data.
Let the fuzzer find cases like this.

For #47653
Fixes #52526

Change-Id: Id90a5e391a4f684f45f8d7e32608eb03b8081076
Reviewed-on: https://go-review.googlesource.com/c/go/+/413875
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/internal/xcoff/file.go