Use calloc(3) and recallocarray(3) instead of *alloc* + memset(0).
authortb <tb@openbsd.org>
Wed, 12 Apr 2017 18:24:37 +0000 (18:24 +0000)
committertb <tb@openbsd.org>
Wed, 12 Apr 2017 18:24:37 +0000 (18:24 +0000)
commit7b6df1e236be9d0d76ed74eabe303425a43c91fc
tree2bddec2148c1b4d00c2d7cc3ff8980f71f750af8
parent19f78c5e992334b272aab66e813e74eaa46da711
Use calloc(3) and recallocarray(3) instead of *alloc* + memset(0).

ok deraadt
lib/libedit/chared.c
lib/libedit/el.c
lib/libedit/hist.c
lib/libedit/terminal.c