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:
@@ -463,7 +463,7 @@ int in_rhs = 0,
|
||||
Window *old = current_window;
|
||||
current_window = win;
|
||||
stuff = expand_alias(buffer, empty_string, &af, NULL);
|
||||
strmcpy(buffer, stuff, BIG_BUFFER_SIZE);
|
||||
strlcpy(buffer, stuff, sizeof buffer);
|
||||
new_free(&stuff);
|
||||
current_window = old;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user