=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.102 retrieving revision 1.103 diff -c -r1.102 -r1.103 *** src/usr.bin/tmux/input.c 2016/07/15 00:42:56 1.102 --- src/usr.bin/tmux/input.c 2016/09/28 14:40:07 1.103 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.102 2016/07/15 00:42:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.103 2016/09/28 14:40:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 961,967 **** char *reply; va_start(ap, fmt); ! vasprintf(&reply, fmt, ap); va_end(ap); bufferevent_write(ictx->wp->event, reply, strlen(reply)); --- 961,967 ---- char *reply; va_start(ap, fmt); ! xvasprintf(&reply, fmt, ap); va_end(ap); bufferevent_write(ictx->wp->event, reply, strlen(reply));