Copy alloc()'s overflow check to aresize().
authormmcc <mmcc@openbsd.org>
Sat, 17 Oct 2015 13:27:55 +0000 (13:27 +0000)
committermmcc <mmcc@openbsd.org>
Sat, 17 Oct 2015 13:27:55 +0000 (13:27 +0000)
commit4f0a1b90705fa96b157bc03b600aaa36a4a41ab8
treed4b825dd124c614009d9ffaf0f7d282947d8b1a9
parent40bba5810f53f7b9289db22621318a99c186980f
Copy alloc()'s overflow check to aresize().

Suggested by nicm@.
bin/ksh/alloc.c