diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-01-08 16:33:57 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-01-08 16:33:57 +0000 |
commit | 0fc518a9da9ec8af36af17fbcb305cd6abd5d50e (patch) | |
tree | fce43e25d01652f5f10297023530c358fc730912 /enter.c | |
parent | 9fd7da6f29476ae9333723b6f58727b58d57661e (diff) |
Going through possible security problems with a fine comb. If you
want to help, check out the current source, and run check_sec.sh.
Diffstat (limited to 'enter.c')
-rw-r--r-- | enter.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |