]> Cypherpunks repositories - gostls13.git/commit
encoding/json: Fix panic when trying to unmarshal the empty string into an integer
authorMichael Chaten <mchaten@gmail.com>
Thu, 3 May 2012 21:35:44 +0000 (17:35 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 May 2012 21:35:44 +0000 (17:35 -0400)
commit3fab2a97e4ae677e74a4569e924ddd0d56cf4a78
tree76bf16696698a4fbaf3625ab115ef4ed51190097
parent61060acdc12ef0e0b9ff2250efdf8da10d53c5a2
encoding/json: Fix panic when trying to unmarshal the empty string into an integer

Fixes #3450.

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/6035050
src/pkg/encoding/json/decode.go
src/pkg/encoding/json/decode_test.go