Use strlcpy, rather than strmcpy, in fix_status_buffer().

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@332 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-08-17 04:39:08 +00:00
parent 0b0dbf5cf7
commit 89d82d7ae0

View File

@@ -463,7 +463,7 @@ int in_rhs = 0,
Window *old = current_window; Window *old = current_window;
current_window = win; current_window = win;
stuff = expand_alias(buffer, empty_string, &af, NULL); stuff = expand_alias(buffer, empty_string, &af, NULL);
strmcpy(buffer, stuff, BIG_BUFFER_SIZE); strlcpy(buffer, stuff, sizeof buffer);
new_free(&stuff); new_free(&stuff);
current_window = old; current_window = old;
} }