summaryrefslogtreecommitdiff
path: root/bitmap.c
AgeCommit message (Collapse)Author
2017-06-07upstream commitdjm@openbsd.org
no need to bzero allocated space now that we use use recallocarray; ok deraadt@ Upstream-ID: 53333c62ccf97de60b8cb570608c1ba5ca5803c8
2017-06-01upstream commitdjm@openbsd.org
fix casts re constness Upstream-ID: e38f2bac162b37dbaf784d349c8327a6626fa266
2017-06-01upstream commitderaadt@openbsd.org
Switch to recallocarray() for a few operations. Both growth and shrinkage are handled safely, and there also is no need for preallocation dances. Future changes in this area will be less error prone. Review and one bug found by markus Upstream-ID: 822d664d6a5a1d10eccb23acdd53578a679d5065
2017-05-02upstream commitdjm@openbsd.org
when freeing a bitmap, zero all it bytes; spotted by Ilya Kaliman Upstream-ID: 834ac024f2c82389d6ea6b1c7d6701b3836e28e4
2015-09-16upstream commitguenther@openbsd.org
Use explicit_bzero() when zeroing before free() from Michael McConville (mmcconv1 (at) sccs.swarthmore.edu) ok millert@ djm@ Upstream-ID: 2e3337db046c3fe70c7369ee31515ac73ec00f50
2015-01-15upstream commitdjm@openbsd.org
remove commented-out test code now that it has moved to a proper unit test
2015-01-15upstream commitdjm@openbsd.org
whitespace
2015-01-15need includes.h for portable OpenSSHDamien Miller
2015-01-15add files missed in last commitDamien Miller