diff options
| author | 2019-10-16 03:31:19 +0200 | |
|---|---|---|
| committer | 2019-10-16 07:01:19 +0530 | |
| commit | 98042ad7d07dfa4f7d03d3f7b43bbd72cf3a05c6 (patch) | |
| tree | 747a2db1267d442b0c96e9e8530c7f06b074d48a /misc/auto-completion/bash | |
| parent | 43c636d95c6ac835c1a92bcabe4297268fd41aa9 (diff) | |
| download | nnn-98042ad7d07dfa4f7d03d3f7b43bbd72cf3a05c6.tar.gz | |
Fix strftime() buffer overflow (#362)
If the formatted string is longer than 17 characters the string won't
be null terminated, causing gibberish to be printed on the status line
and possibly worse.
This occurs with my current locale in which a date is printed as such:
2019-okt.-15 19:26
Which is 18 characters.
Diffstat (limited to 'misc/auto-completion/bash')
0 files changed, 0 insertions, 0 deletions