DEVEL15-cmd-nname-20080113
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 13 Jan 2008 15:35:41 +0000 (15:35 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 13 Jan 2008 15:35:41 +0000 (15:35 +0000)
commit1a3b021863e32e87b3c9c53097df3809afbe8d20
tree9df801147448c5b16b4de77097bef7387fb28e31
parent662f0642b0b3169f74f37f2a192cedb99a8f06e0
DEVEL15-cmd-nname-20080113

LICENSE MIT

Nname() is used to concatenate two strings and is frequently used with
the first string being the name of the executable perhaps with a full
path.  The static buffer specified is too small for a full path and
there was no protection against writing beyond the end of it.

(cherry picked from commit d5811091995b78d65e891b134aa0ad6955bbc30c)
src/cmd/cmd.c