diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1095,6 +1095,7 @@ void io_load_keys(const char *pager) while (*p == ' ') p++; (void)strncpy(tmpbuf, p, BUFSIZ); + tmpbuf[BUFSIZ - 1] = '\0'; if (sscanf(tmpbuf, "%s", key_ch) == AWAITED) { int ch; |