diff options
Diffstat (limited to 'src/io.c')
-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; |