tdb2: make sure records with extra padding have a 0 byte.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:21 +0000 (22:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:21 +0000 (22:12 +1030)
commited81f39468c4d9089310fb4950b09c1f5886c4ef
tree15c3fd801fb4b0ef8a17559c0adfffc08a544279
parent812391f15ffd968bd27fb3847dbb63c72adb5eec
tdb2: make sure records with extra padding have a 0 byte.

As detailed in doc/design.lyx section 2.16 "Record Headers Are Not
Expandible", we make sure that if there is padding at the end of a record,
the first byte of padding is a zero.
ccan/tdb2/check.c
ccan/tdb2/doc/design.lyx
ccan/tdb2/free.c
ccan/tdb2/tdb.c
ccan/tdb2/test/layout.c