| commit | efd7476481382c195beb33acd8ec2f1527167fb4 | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Thu Apr 30 09:19:26 2015 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Thu Apr 30 09:19:26 2015 +1000 |
| tree | e0c6ebf4abd87203147a1f59cf1c45acd40236eb | |
| parent | dded9133a99a3cd7c3a9d24a9f85c2b8ef76ff31 [diff] |
Check we get both key and value from a decoded map entry. Previously the code assumed a well-formed map entry, and would panic in the SetMapIndex call if the map was missing either the key or value field. Fixes #27.