summaryrefslogtreecommitdiff
path: root/bin/ksh/alloc.c
AgeCommit message (Expand)Author
2018-01-16Introduce internal_warningf() and mark internal_errorf() as noreturnJeremie Courreges-Anglas
2017-11-02Switch calloc(3) back to malloc(3). The call to calloc was introducedTheo Buehler
2017-08-15Remove expensive pointer check in afree()Jeremie Courreges-Anglas
2017-05-29Change the mmap(2)-based binary history file with lots of magic and aTheo Buehler
2016-06-01put this in the public domain as well. reminded by theo. we discussedMarc Espie
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-10-19Apply style(9) to header includes.mmcc
2015-10-17Change allocarray() to areallocarray(), a full reallocarray clone. Allmmcc
2015-10-17Copy alloc()'s overflow check to aresize().mmcc
2015-10-16Move the overflow check to alloc() so that the link struct overhead canmmcc
2015-10-16Add allocarray(), an overflow-safe allocation function.mmcc
2008-07-21Extra sanity checking for afree(); OK deraadt@ and pvalchev@Todd C. Miller
2004-02-19basic knfTheo de Raadt
2003-08-05Don't allow alloc() and aresize() to fail. Their return value wasTodd C. Miller
2002-03-01Kill hand-made memory allocation code, that is definitely buggy.Marc Espie
1999-07-14pdksh-5.2.14Todd C. Miller
1998-06-29overflow fix; michael@cs.mun.caTheo de Raadt
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1996-08-14Import pdksh 5.2.7.Jason Downs