Fix not accounting for NUL for allocation size and move to reallocarray while there. ok deraadt@ millert@
otto 7 years ago c0cf3824 cc381e73