reactos/sdk/lib/fslib/vfatlib
Timo Kreuzer b275f24406 [VFATLIB] Use RtlStringCbPrintfA instead of sprintf
Fixes GCC 8 warning:
sdk/lib/fslib/vfatlib/check/boot.c:173:27: error: '%02x' directive writing between 2 and 8 bytes into a region of size between 0 and 15 [-Werror=format-overflow=]
   sprintf(buf, "%s%u:%02x/%02x", first ? "" : ", ",
                           ^~~~
sdk/lib/fslib/vfatlib/check/boot.c:173:16: note: directive argument in the range [0, 2147483647]
   sprintf(buf, "%s%u:%02x/%02x", first ? "" : ", ",
                ^~~~~~~~~~~~~~~~
sdk/lib/fslib/vfatlib/check/boot.c:173:3: note: 'sprintf' output between 8 and 31 bytes into a destination of size 20
   sprintf(buf, "%s%u:%02x/%02x", first ? "" : ", ",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    (unsigned)(p - (uint8_t *) b), *p, *q);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-20 13:56:18 +02:00
..
check [VFATLIB] Use RtlStringCbPrintfA instead of sprintf 2019-07-20 13:56:18 +02:00
CMakeLists.txt Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
common.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
common.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
fat12.c [VFATLIB] Simplify in-memory boot sector copy. 2018-04-14 12:05:32 +02:00
fat16.c [VFATLIB] Simplify in-memory boot sector copy. 2018-04-14 12:05:32 +02:00
fat32.c [VFATLIB] Simplify in-memory boot sector copy. 2018-04-14 12:05:32 +02:00
README.txt Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
vfatlib.c [VFATLIB] Only check volume if full scan or if allowed to fix it 2018-06-05 19:34:47 +02:00
vfatlib.h [VFATLIB] Fix FAT partitions formatting in a non clean fashion. 2018-02-21 00:26:13 +01:00

The FAT Checker is taken from dosfstools' fsck.vfat
https://github.com/dosfstools/dosfstools
Synced with master branch, commit ed4e47b6757c05d4c23a9075b8b68003aa5dbfb8