From: nicm Date: Mon, 20 Apr 2015 07:50:49 +0000 (+0000) Subject: Use a more sensible buffer size for flags string. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e466c223747ec6b58d4f5874b1dfbde5c8c47455;p=openbsd Use a more sensible buffer size for flags string. --- 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;