commit | bc6bb3efb4f2f75375ab8820ee536f696269c6b4 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Mon Aug 19 11:22:09 2013 +1000 |
committer | Rob Pike <r@golang.org> | Mon Aug 19 11:22:09 2013 +1000 |
tree | 03aefd11317ae6b573412e6643fa7f2130066ad8 | |
parent | e8140bd03c154f8f9e894f5cb4be8b854c944412 [diff] |
math/big: fix nil bug in GobEncode Update #5305. This handles the case where the nil pointers are inside a slice. A top-level nil pointer is harder, maybe fundamentally broken by gob's model. Thinking required. However, a slice is the important case since people don't expect to be sending top-level nils much, but they can arise easily in slices. R=golang-dev, josharian, adg CC=golang-dev https://golang.org/cl/13042044