third_party_f2fs-tools/mkfs
Iris Chang 865a3ead18 f2fs-tools: use pointer and memory alloaction instead of defining "structure stat" in function stack
Problem:
Function f2fs_dev_is_unmounted() and get_device_info() define local
variable "struct stat xxx". If the callstack is very deep and stack
is smaller, it will result in stack corruption.

Solution:
It is better to use pointer and memory allocation instead of defining
"structure stat" in function stack.

Signed-off-by: Iris Chang <iris.chang@mediatek.com>
[Jaegeuk Kim: fix build errors.]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2018-04-04 22:22:33 -07:00
..
f2fs_format_main.c libf2fs,mkfs.f2fs: add wanted_sector_size for wanted_total_sectors 2018-04-02 22:57:31 -07:00
f2fs_format_utils.c f2fs-tools: use pointer and memory alloaction instead of defining "structure stat" in function stack 2018-04-04 22:22:33 -07:00
f2fs_format_utils.h f2fs-tools: support multiple devices 2016-11-09 18:03:47 -08:00
f2fs_format.c f2fs-tools: support inode creation time 2018-01-25 14:11:32 -08:00
Makefile.am fsck/Makefile.am, mkfs/Makefile.am: fix to make distcheck correctly 2017-11-13 21:04:23 -08:00