go/src/fmt
Håvard Haugen 70cf7352b4 fmt: fix buffer underflow for negative integers
Allow room for the initial minus sign of negative integers when
computing widths.

Fixes #10945.

Change-Id: I04d80203aaff64611992725d613ec13ed2ae721f
Reviewed-on: https://go-review.googlesource.com/10393
Reviewed-by: Rob Pike <r@golang.org>
2015-06-02 13:55:40 +00:00
..
doc.go fmt: treat reflect.Value specially - as the value it holds 2015-04-15 15:59:39 +00:00
export_test.go
fmt_test.go fmt: fix buffer underflow for negative integers 2015-06-02 13:55:40 +00:00
format.go fmt: fix buffer underflow for negative integers 2015-06-02 13:55:40 +00:00
norace_test.go fmt: skip malloc test under race detector 2015-05-11 17:45:26 +00:00
print.go fmt: prevent panic from %.[] 2015-05-05 21:07:38 +00:00
race_test.go fmt: skip malloc test under race detector 2015-05-11 17:45:26 +00:00
scan.go fmt: document that Scanf returns an error the same as Scan 2015-05-05 19:48:50 +00:00
scan_test.go fmt: fix bug in scanning of hex strings 2014-12-22 04:08:32 +00:00
stringer_test.go