From e466c223747ec6b58d4f5874b1dfbde5c8c47455 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 20 Apr 2015 07:50:49 +0000 Subject: [PATCH] Use a more sensible buffer size for flags string. --- usr.bin/tmux/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index 0d7832d676c..64ad833348f 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.118 2015/04/19 21:34:21 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.119 2015/04/20 07:50:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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; -- 2.20.1