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:
parent
c67ddc21e7
commit
e291efbd86
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user