CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/04/01 11:45:05
Modified files:
usr.bin/apply : apply.c
Log message:
With malloc option J, the first realloc(3) in apply(1) would return
memory that is filled with junk only. Allocate the empty string
with malloc(3) and initialize it explicitly with the NUL terminator.
OK tb@ tobias@
