Commit 6f82b55a4adcf7de3daff54cd1cffa0a4579277e

Jim Meyering 1997-11-30T10:24:41

(savedir): Check for size zero before invoking malloc; this can occur if st_size arg overflows on conversion to unsigned int. All callers now cast st_size arg to unsigned int.