diff options
author | logan@openbsd.org <logan@openbsd.org> | 2015-11-16 06:13:04 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-11-17 11:15:20 +1100 |
commit | db6f8dc5dd5655b59368efd074994d4568bc3556 (patch) | |
tree | 1baf6fdd01756294a939eceb63a4e4138e1e02b4 /openbsd-compat | |
parent | 383f10fb84a0fee3c01f9d97594f3e22aa3cd5e0 (diff) |
upstream commit
1) Use xcalloc() instead of xmalloc() to check for
potential overflow. (Feedback from both mmcc@ and djm@) 2) move set_size
just before the for loop. (suggested by djm@)
OK djm@
Upstream-ID: 013534c308187284756c3141f11d2c0f33c47213
Diffstat (limited to 'openbsd-compat')
0 files changed, 0 insertions, 0 deletions