diff options
author | Jordan Galby <gravemind2a@gmail.com> | 2020-10-08 09:15:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 11:15:43 +0200 |
commit | 8bcf5491d805ba0e97d0904040218f15b5c478a6 (patch) | |
tree | febf6193e0ce9ae18633d7db089f3ab20871b0af /src/format_placeholders.c | |
parent | 3451a0d9fc81c69d4dcaf93b511459b164df05e8 (diff) |
Fix crash in print_memory (#427)
Fixes a stack-overflow when memory is, for example, "1020.17 TiB".
This fix limits the max number of memory decimals to 4.
The crash was probably introduced in 066e813331 .
Diffstat (limited to 'src/format_placeholders.c')
0 files changed, 0 insertions, 0 deletions