Up to [local] / src / bin / ksh
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_5
Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 5 20:52:27 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)
Don't allow alloc() and aresize() to fail. Their return value was 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@