]> Cypherpunks repositories - gostls13.git/commit
encoding/gob: warn about decoding data from untrusted sources
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 28 Jun 2017 23:20:59 +0000 (23:20 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 29 Jun 2017 03:24:29 +0000 (03:24 +0000)
commit19f73a786bbded4c0e6bd5c6a640320b532d0b87
treee1b5870f44b46275c0880931c77231051bc904a4
parent8aee0b8b32c103da416369ebd16e2c07ad99badf
encoding/gob: warn about decoding data from untrusted sources

And some double space after period cleanup while I'm here.
I guess my previous regexps missed these. My next cleaner should
probably use go/ast instead of perl.

Updates #20221

Change-Id: Idb051e7ac3a7fb1fb86e015f709e32139d065d92
Reviewed-on: https://go-review.googlesource.com/47094
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/encoding/gob/decoder.go
src/encoding/gob/doc.go