nnn/src
NRK 43c69abbac fix crash under _FORTIFY_SOURCE
when built with _FORTIFY_SOURCE it will check whether the buffer
has as much space as the argument passed to snprintf:

	7b544224f8/debug/snprintf_chk.c (L28-L29)

this results in some false positives when the snprintf provided
len argument is bigger than the buffer size (but the result
would have fit into the buffer anyways).

fix this by passing the proper size to snprintf as argument.
(the +1 len isn't necessary, but add it just in case.)

Fixes: https://github.com/jarun/nnn/issues/1931
2024-11-11 20:07:25 +00:00
..
.clang-tidy Add comma 2024-04-28 20:25:08 +05:30
dbg.h Update copyright year 2024-08-26 18:39:23 +05:30
icons-hash.c Fix implicit function declaration strcasecmp 2024-09-09 13:58:55 +02:00
icons-in-terminal.h Add nerdfont defs file and normalize vars (#722) 2020-09-14 22:09:52 +05:30
icons.h Add djvu icon 2023-06-15 16:56:51 +02:00
nnn.c fix crash under _FORTIFY_SOURCE 2024-11-11 20:07:25 +00:00
nnn.h Update copyright year 2024-08-26 18:39:23 +05:30
qsort.h Add support for Alexey Tourbin's QSORT code (#708) 2020-08-21 08:15:45 +05:30