Fix (uncritical) potential buffer overflow: the length of "buf" was not

extended when "jaiL" was added to fmt_flags().
MFC after:	1 week
This commit is contained in:
Stefan Eßer 2007-11-15 07:31:11 +00:00
parent c67ddc21e7
commit e291efbd86

View File

@ -70,7 +70,7 @@ fmt_flags(int flags)
* NB: if you add new flags, don't forget to add them here vvvvvv too.
*/
static char buf[sizeof
"static, network, read-only, synthetic, loopback, unicode"];
"static, network, read-only, synthetic, loopback, unicode, jail"];
int comma = 0;
buf[0] = '\0';