Hello all,

> Note that other declarations changed between 1.44.4 and 1.44.5 so
> there may be other similar problems.

This looks related to upstream change to take care
of debian bug #888899. This change looks like it got
reverted again.

https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/log/misc/e4defrag.c
https://bugs.debian.org/888899


> Something like printf("...%d...%s...", long_long_int, pointer_to_char)
> could lead to a segfault on armel, though usually there would be a
> conspicuous warning from the compiler.

These are really visible here:
https://buildd.debian.org/status/fetch.php?pkg=e2fsprogs&arch=armel&ver=1.44.5-1&stamp=1544943866&raw=0

../../../misc/e4defrag.c:1606:29: warning: format '%u' expects argument of type 
'unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=]
   printf("\033[79;0H\033[K[%u/%u]%s:\t%3d%%",
                            ~^
                            %llu
    defraged_file_count, total_count, file, 100);
    ~~~~~~~~~~~~~~~~~~~       

Kind regards,
Bernhard

Reply via email to