Skip to content
Snippets Groups Projects
Commit 2bc1b3e4 authored by Yorhel's avatar Yorhel
Browse files

util.c: Fix possible buffer overflow in fillsize() and formatsize()

They should now be able to cope with file sizes in the full (positive)
range of a signed integer, i.e. 0 bytes to 8 EiB minus one byte. The
size calculation of directories, however, may still overflow and cause
negative integers to be passed around. That should be fixed.
parent 3fd25ffb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment