From 0fc518a9da9ec8af36af17fbcb305cd6abd5d50e Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 8 Jan 2001 16:33:57 +0000 Subject: Going through possible security problems with a fine comb. If you want to help, check out the current source, and run check_sec.sh. --- enter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enter.c') diff --git a/enter.c b/enter.c index 50dca39a..13a54c38 100644 --- a/enter.c +++ b/enter.c @@ -443,7 +443,7 @@ int _mutt_enter_string (char *buf, size_t buflen, int y, int x, { first = 1; /* clear input if user types a real key later */ my_wcstombs (buf, buflen, state->wbuf, state->curpos); - mutt_buffy (buf); + mutt_buffy (buf, buflen); state->curpos = state->lastchar = my_mbstowcs (&state->wbuf, &state->wbuflen, 0, buf); break; } -- cgit v1.2.3