]> Cypherpunks repositories - gostls13.git/commit
fmt: catch overflow in width and prec calculations
authorRob Pike <r@golang.org>
Mon, 4 May 2015 18:28:51 +0000 (11:28 -0700)
committerRob Pike <r@golang.org>
Mon, 4 May 2015 19:17:05 +0000 (19:17 +0000)
commit660a6825eabcf8529826e25052a8546ac8e1f08f
treed600683108a13c5d6c3cc38b0f7dd55120f2d60a
parentb86e71f5aae4bd2cd2b1010e1c57909c068178cc
fmt: catch overflow in width and prec calculations

Fixes #10674.

Change-Id: If3fae3244d87aeaa70815f499105c264394aa7ad
Reviewed-on: https://go-review.googlesource.com/9657
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/fmt/fmt_test.go
src/fmt/print.go