Descriptiontime: handle integer overflow in Sub
If time.Sub results in a value that won't fit in a Duration (int64),
return either the min or max int64 value as appropriate.
Fixes issue 5011.
Patch Set 1 #Patch Set 2 : diff -r 2879112bff3d https://code.google.com/p/go #Patch Set 3 : diff -r 2879112bff3d https://code.google.com/p/go #
Total comments: 6
Patch Set 4 : diff -r 0b9e3725cc84 https://code.google.com/p/go #
Total comments: 5
Patch Set 5 : diff -r 0b9e3725cc84 https://code.google.com/p/go #
Total comments: 2
Patch Set 6 : diff -r 0b9e3725cc84 https://code.google.com/p/go #MessagesTotal messages: 13
|