aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/main.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2016-08-18 08:44:57 -0600
committerBen Johnson <benbjohnson@yahoo.com>2016-08-18 08:44:57 -0600
commit92410e067395f10c8c93fad62c3e6c4b7aca82f0 (patch)
tree3f90eabcfd6a26c8bbc021665ab996ed4325c492 /cmd/bolt/main.go
parentMerge pull request #579 from asdine/master (diff)
downloaddedo-92410e067395f10c8c93fad62c3e6c4b7aca82f0.tar.gz
dedo-92410e067395f10c8c93fad62c3e6c4b7aca82f0.tar.xz
fix Go 1.7 pointer reference bug
This commit fixes a bug where page end-of-header pointers were being converted to byte slices even when the pointer did not point to allocated memory. This occurs with pages that have a `page.count` of zero. Note: This was not an issue in Go 1.6 but the new Go 1.7 SSA backend handles `nil` checks differently. See https://github.com/golang/go/issues/16772
Diffstat (limited to 'cmd/bolt/main.go')
0 files changed, 0 insertions, 0 deletions