[PATCH] reject a tdb with hash size of 0

Andrew Bartlett abartlet at samba.org
Thu Dec 17 02:18:44 UTC 2015

This just ensures we reject (rather than div-by-0) a DB with a zero
hash size.

This was one of the first issues I found that lead to the offset bugs
seen here:

Please review/push.


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tdb-Refuse-to-load-a-database-with-hash-size-0.patch
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151217/5d007a0e/0001-tdb-Refuse-to-load-a-database-with-hash-size-0.bin>

More information about the samba-technical mailing list