K 10 svn:author V 8 truckman K 8 svn:date V 27 2016-06-01T16:56:29.038169Z K 7 svn:log V 341 The (i < PROMPTLEN - 1) test added by r300442 in the code for the default case of \c in the prompt format string is a no-op. We already passed this test at the top of the loop, and i has not yet been incremented in this path. Change this test to (i < PROMPTLEN - 2). Reported by: Coverity CID: 1008328 Reviewed by: cem MFC after: 1 week END