Descriptionmath/big: fix nil bug in GobEncode
Update issue 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.
Patch Set 1 #Patch Set 2 : diff -r 6238d843d284 https://code.google.com/p/go/ #Patch Set 3 : diff -r f757fbed276c https://code.google.com/p/go/ #
MessagesTotal messages: 6
|