Commit Graph

10 Commits

Author SHA1 Message Date
djm@openbsd.org b011edbb32 upstream commit
add RCSIDs to these; they make syncing portable a bit
easier

Upstream-ID: 56cb7021faea599736dd7e7f09c2e714425b1e68
2017-10-20 12:58:35 +11:00
djm@openbsd.org 1527d9f61e upstream commit
no need to bzero allocated space now that we use use
recallocarray; ok deraadt@

Upstream-ID: 53333c62ccf97de60b8cb570608c1ba5ca5803c8
2017-06-07 11:31:15 +10:00
djm@openbsd.org 4b2e2d3fd9 upstream commit
fix casts re constness

Upstream-ID: e38f2bac162b37dbaf784d349c8327a6626fa266
2017-06-01 14:55:23 +10:00
deraadt@openbsd.org 9e509d4ec9 upstream commit
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-06-01 14:55:22 +10:00
djm@openbsd.org d1c6b7fdbd upstream commit
when freeing a bitmap, zero all it bytes; spotted by Ilya
Kaliman

Upstream-ID: 834ac024f2c82389d6ea6b1c7d6701b3836e28e4
2017-05-02 13:39:36 +10:00
guenther@openbsd.org 14692f7b82 upstream commit
Use explicit_bzero() when zeroing before free()

from Michael McConville (mmcconv1 (at) sccs.swarthmore.edu)
ok millert@ djm@

Upstream-ID: 2e3337db046c3fe70c7369ee31515ac73ec00f50
2015-09-16 17:52:07 +10:00
djm@openbsd.org e4ebf55864 upstream commit
remove commented-out test code now that it has moved to a
 proper unit test
2015-01-15 21:37:34 +11:00
djm@openbsd.org e81cba066c upstream commit
whitespace
2015-01-15 21:37:34 +11:00
Damien Miller 6e2549ac2b need includes.h for portable OpenSSH 2015-01-15 02:30:18 +11:00
Damien Miller 4f38c61c68 add files missed in last commit 2015-01-15 02:28:00 +11:00