Re: PATCH: missing NUL terminate after readlink() in csh

2014-07-11 Thread Ted Unangst
On Fri, Jul 11, 2014 at 06:31, Doug Hogan wrote: > Csh has a section of code where it NUL terminates after a strlcpy(). > Strlcpy() may read past what readlink() wrote since readlink() does > not append a NUL. applied (and smtpd sock fix), thanks.

PATCH: missing NUL terminate after readlink() in csh

2014-07-10 Thread Doug Hogan
Csh has a section of code where it NUL terminates after a strlcpy(). Strlcpy() may read past what readlink() wrote since readlink() does not append a NUL. Index: bin/csh/dir.c === RCS file: /cvs/src/bin/csh/dir.c,v retrieving revisio