Use a more sensible buffer size for flags string.

pull/1/head
nicm 2015-04-20 07:50:49 +00:00
parent 8101f1ef16
commit 6f587570ed
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ window_destroy_panes(struct window *w)
char *
window_printable_flags(struct session *s, struct winlink *wl)
{
char flags[BUFSIZ];
char flags[32];
int pos;
pos = 0;