Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18071)

Issue 15080043: code review 15080043: time: fix ParseDuration overflow when given more than 9... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by minux1
Modified:
10 years, 4 months ago
Reviewers:
r, rsc
CC:
golang-dev, rsc, r
Visibility:
Public.

Description

time: fix ParseDuration overflow when given more than 9 digits on 32-bit arch Fixes issue 6617.

Patch Set 1 #

Patch Set 2 : diff -r 35d5bae6aac8 https://code.google.com/p/go #

Patch Set 3 : diff -r 35d5bae6aac8 https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r b508daf6dae6 https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M src/pkg/time/format.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/time/time_test.go View 1 2 3 2 chunks +4 lines, -0 lines 1 comment Download

Messages

Total messages: 8
minux1
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 6 months ago (2013-10-18 16:16:08 UTC) #1
rsc
https://codereview.appspot.com/15080043/diff/50001/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/15080043/diff/50001/src/pkg/time/format.go#newcode1207 src/pkg/time/format.go:1207: scale := int64(1) might as well do 1.0 (float64). ...
10 years, 6 months ago (2013-10-18 17:26:36 UTC) #2
minux1
PTAL. https://codereview.appspot.com/15080043/diff/50001/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/15080043/diff/50001/src/pkg/time/format.go#newcode1207 src/pkg/time/format.go:1207: scale := int64(1) On 2013/10/18 17:26:36, rsc wrote: ...
10 years, 6 months ago (2013-10-20 01:20:44 UTC) #3
rsc
LGTM
10 years, 6 months ago (2013-10-21 20:11:18 UTC) #4
r
LGTM https://codereview.appspot.com/15080043/diff/100001/src/pkg/time/time_test.go File src/pkg/time/time_test.go (right): https://codereview.appspot.com/15080043/diff/100001/src/pkg/time/time_test.go#newcode1334 src/pkg/time/time_test.go:1334: //{"0.01234567890123456789h", false, 0}, delete?
10 years, 6 months ago (2013-10-22 20:21:12 UTC) #5
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=fbf3b853e00b *** time: fix ParseDuration overflow when given more than 9 digits ...
10 years, 6 months ago (2013-10-22 22:33:14 UTC) #6
minux1
Thank you Russ for submitting. Should I mail CL to release-apply this CL to release-branch.go1.2?
10 years, 6 months ago (2013-10-23 04:31:52 UTC) #7
r
10 years, 6 months ago (2013-10-23 04:53:03 UTC) #8
Andrew will do that.

-rob
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b