]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] fmt: fix crash of %b on huge negative int64
authorRob Pike <r@golang.org>
Thu, 12 Apr 2012 23:28:37 +0000 (09:28 +1000)
committerRob Pike <r@golang.org>
Thu, 12 Apr 2012 23:28:37 +0000 (09:28 +1000)
commit18a71beb07d845176fcab6711b766eeee4d35d46
tree8440bd0e00ff569c845b47645c8c5c2fe92fa50e
parentbde649ca89ede3caf4c11e61b3b7471381f35f8a
[release-branch.go1] fmt: fix crash of %b on huge negative int64

««« backport 344d5c33331a
fmt: fix crash of %b on huge negative int64
The buffer had 64 bytes but needs one more for the sign.

Fixes #3510.

R=golang-dev, dave, dsymonds
CC=golang-dev
https://golang.org/cl/6011057
»»»
src/pkg/fmt/fmt_test.go
src/pkg/fmt/format.go