diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2026-04-09 15:23:57 +0200 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-04-10 02:58:16 -0700 |
| commit | 824a8a315668598436072566727cc5b28ac2f8c9 (patch) | |
| tree | ffcb96328ccf303186399cc63faba7fbb3f4f267 /src/runtime | |
| parent | ff7dfb5c3b365b0f41210fe0af0c66447b13c392 (diff) | |
| download | go-824a8a315668598436072566727cc5b28ac2f8c9.tar.xz | |
syscall: avoid nil pointer dereference in Utime
Passing a nil buf *Utimbuf to Utime on linux/{arm64,loong64,riscv64} will
cause a nil pointer dereference. Check buf explicitly to avoid this
case.
Change-Id: Ic93484e95e10f92b8266aa598de82ad35fab17d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/764580
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
