]> Cypherpunks repositories - gostls13.git/commit
time: check int64 overflow in Time.addSec
authorAndy Pan <panjf2000@gmail.com>
Fri, 12 Mar 2021 11:40:46 +0000 (19:40 +0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 17 Mar 2021 19:48:52 +0000 (19:48 +0000)
commita5df88355cb8998856a5dbd3550b98e5de1f6009
tree754da0398f9f9ed80f77092965dd446c8bb8a79a
parent5423f6023cff995f1077ac83e132705893a8af79
time: check int64 overflow in Time.addSec

Change-Id: Ibbed54239228e7ea31ef5978d427425899c3b943
Reviewed-on: https://go-review.googlesource.com/c/go/+/300890
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Baokun Lee <bk@golangcn.org>
src/time/export_test.go
src/time/internal_test.go
src/time/time.go
src/time/time_test.go