K 10 svn:author V 6 brooks K 8 svn:date V 27 2017-04-13T15:52:45.276149Z K 7 svn:log V 263 Fix an out-of-bounds write when a zero-length buffer is passed. Found with ttyname_test and CHERI bounds checking. Reviewed by: emaste Obtained from: CheriBSD MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10377 END