Use recallocarray in getdelim/getline to clear memory on buffer resizes,
authorbrynet <brynet@openbsd.org>
Thu, 13 Apr 2017 18:36:51 +0000 (18:36 +0000)
committerbrynet <brynet@openbsd.org>
Thu, 13 Apr 2017 18:36:51 +0000 (18:36 +0000)
commitfa826e3f7e01ed0795ae97fd2c6c675f1be3392d
tree96032a928745740af21bbed3a6022008b5157790
parentb3570ff114d4897e8bd4b3065686850e48de77aa
Use recallocarray in getdelim/getline to clear memory on buffer resizes,
inspired by a similar change to fgetln.

ok deraadt millert
lib/libc/stdio/getdelim.c