]> Cypherpunks repositories - gostls13.git/commit
time: handle invalid UTF-8 byte sequences in quote to prevent panic
authorAndy Pan <panjf2000@gmail.com>
Wed, 23 Jun 2021 04:59:48 +0000 (12:59 +0800)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Thu, 24 Jun 2021 03:20:33 +0000 (03:20 +0000)
commit86d72fa2cba51342ba5617abf43a732f9fd668ca
tree162035b048cc8c1b60cc8bfa6a894d8cc337a642
parent44a12e5f33bed2189735d8466b38fe455fe9b752
time: handle invalid UTF-8 byte sequences in quote to prevent panic

Fixes #46883
Updates CL 267017

Change-Id: I15c307bfb0aaa2877a148d32527681f79df1a650
Reviewed-on: https://go-review.googlesource.com/c/go/+/330289
Reviewed-by: Kevin Burke <kev@inburke.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
src/time/format.go
src/time/time_test.go