summaryrefslogtreecommitdiff
path: root/bin/ksh/alloc.c
AgeCommit message (Collapse)Author
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
only checked in two place (both in conjunction with str_save). Upon malloc/realloc failure we call internal_errorf() which pops throws and error and pops back to the last good state. OK deraadt@ pval@ fgs@ Original problem noted by mickey@
2002-03-01Kill hand-made memory allocation code, that is definitely buggy.Marc Espie
Replace with simple wrapper around malloc, at least this works, and it's easier to debug anyways.
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