Age | Commit message (Collapse) | Author |
|
4029936 snap-temp-L09300000066301094
Change-Id: I56f23154b27039b44daaa0a0cdcbc70b56225562
|
|
am: b8d5850d6b am: f34e8f421d
am: e8b99cf64c
Change-Id: I188e40b18739e4ec6d4f5af0ef48d5aee3147963
|
|
am: b8d5850d6b
am: f34e8f421d
Change-Id: I5c855cf49ad5632720aeacfd2423a6d8a4ef2d93
|
|
am: b8d5850d6b
Change-Id: I126ebc7432f42720dbd1a553f280f1b8449171a7
|
|
am: 6bd9b2940d
Change-Id: Id01010a15769672c5cbdd01ee88fb0c23fbe0190
|
|
Bug: https://github.com/android-ndk/ndk/issues/398
Test: builds
Change-Id: Ifc4892f09a32bda246bdf60cd9864d43f06028d4
|
|
3993143 snap-temp-L23100000062404817
Change-Id: I51d421e2d75254c8daf7f6f6bc7d708d0e9bb550
|
|
3988462 snap-temp-L14700000061937187
Change-Id: I282cb8edd90e3f7eb9b807eb2f8d8894a6c9867e
|
|
segno and blk_off were read from input image without sanity check. This
could lead to buffer overflow when accessing internal arrays like SIT
sentries and seg_entry cur_valid_map.
Bug: 36266023
Change-Id: I09a54c61707ec40607bb8314276875ce7ab4c22a
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
cp_payload is not sanity checked from input image. A invalid size
can cause buffer overflow when reading checkpoint blks into memory.
Bug: 36493182
Change-Id: I3ee62cbd6817e267de607454dd7223a4f0fd2c4d
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
crafted malicious f2fs partition can fill an out of bound blk_off,
which cause overflow when accessing summary block entries.
Bug: 36394556
Change-Id: Icf0dfa7803a377c140b7d30cd7037c6058a4f8ea
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
make sure segment count in super block doesn't exceed F2FS_MAX_SEGMENT.
Bug: 36392513
Bug: 36815012
Change-Id: I0f699f58fb6bab27008a7ab956a87fe241bb0169
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
blk_off is read from image. Attacker can construct an image with big
blk_off that trigger overflow on se->cur_valid_map.
Bug: 36277742
Change-Id: I913f30d3b6389bf93cf211f6fb3510a37075d618
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
am: 9c708503ba am: cef78a95c1
am: 6f4b7b6b15
Change-Id: I97a7c68c80acfa9762791ff468b5287d179f317f
|
|
5bf5839828 am: f4bfa40f51
am: 93f3f63159
Change-Id: Id4b459557ea7a6a32c576aa4914ef95f6df1366b
|
|
am: 9c708503ba
am: cef78a95c1
Change-Id: If8c9e5d6e5d0b7ad3881d49576207079b3aa418c
|
|
5bf5839828
am: f4bfa40f51
Change-Id: I2e56540d25d730f5261a26ecd190233c64c80bd6
|
|
am: 9c708503ba
Change-Id: Idb96b619f6901e8f08c8df3d0038244579b296c6
|
|
am: 5bf5839828
Change-Id: Icdeb9668d82ad8eea318065879fa32e4126275ce
|
|
am: cb1d44227d
Change-Id: Ibd48efee95a47f766784e11f9671cd990f20f2f9
|
|
am: 0254bdb9e1
Change-Id: Ib680dd7a999cad7f605e2cb28dd7d68340a98bba
|
|
Test: format userdata to f2fs and boot
Bug: 37758867
Change-Id: I0bdb7c4235d454094ff37182b2ef8e817b74dbc4
|
|
upgrade f2fs-tools from 1.4.1 to 1.8.0
Test: format userdata to f2fs and boot
Bug: 37758867
Change-Id: I969cae118b88111cdbcecb00dbb1575b17f03f5a
|
|
am: 657b6bc2be
Change-Id: I7ab1e888f9189ba53613519938cbd3e0c7e1f7ff
|
|
am: a32b1b9703
Change-Id: Icf87ed5fbf263e4227e3f5d319f9dddbded0750f
|
|
It's about to exist, but it will be an error to use in normal
Android.mk files.
Test: none, this is a no-op
Change-Id: Id6ed07061a28caf83a54bc06be916446a09b939a
|
|
d035d7af83
am: b3d61c3e76
Change-Id: Ief66af95ace881fb6213d483bd50d040cf7a962c
|
|
am: d035d7af83
Change-Id: I11b05beac2219da6cc03c1b54e5555a082b6d195
|
|
am: 0b45c15ecc
Change-Id: I4659b076a0629cc67ee8a6b4d3021d70331729f1
|
|
am: ff6619b739
Change-Id: I66e6ef3cd9ada87e475d17f2460ca15286c2b5c1
|
|
|
|
It's about to exist, but it will be an error to use in normal
Android.mk files.
Test: none, this is a no-op
Change-Id: Id6ed07061a28caf83a54bc06be916446a09b939a
|
|
This release includes:
- enhance fsck.f2fs mostly.
- retrieve lost files from dump.f2fs.
- support zoned device and multiple devices.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
wanted_total_sectors is introduced instead total_sectors,
so that, the initialize is a fault, drop it.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch removes stale dentries remained by hash conversion issue which
happened long time ago.
Fixes: aafe2ca3dc72 ("fsck.f2fs: fix wrong hash_code made by previous buggy code")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
cd957bfe94 am: efe9697e68
am: 3f26d468d9
Change-Id: I6e6d89e2dac616bdb29921838de7f6cd96c04306
|
|
am: efe9697e68
Change-Id: Ib6113b1fc48b908c07dd8462af44abc38faef304
|
|
am: cd957bfe94
Change-Id: Ib9c1352c15acfd2ef4bc9c97ad3ebfb08af5d049
|
|
am: 52a2cdcb1a
Change-Id: I6cc3c8b1d502d75d122545e0803e9a6e052d67ea
|
|
If the segment type and sum footer type are node, but its
sit type is corrupted as cold data, this will always trigger
type error crash in do_garbage_collect but not get fixed by fsck,
so fix seg entry type when it is not DATA.
Reported-by: KARBOWSKI Piotr <piotr.karbowski@gmail.com>
Signed-off-by: Liu Xue <liuxueliu.liu@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
[root@localhost f2fs-tools]# mkfs.f2fs -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 /dev/sdb1
kernel: mkfs.f2fs[9047]: segfault at 2b78a60f ip 0000000000401356 sp 00007fffde05c9c0 error 6 in mkfs.f2fs[400000+5000]
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch is just to clean up.
Cc: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch allows fsck run -p without argument. So we could use -p as
-p, -p 0, -p 1. '-p' and '-p 0' have the same meaning as '-a'. '-p 1'
check more meta data than '-a'.
Reported-by: KARBOWSKI Piotr <piotr.karbowski@gmail.com>
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
It is reported that fsck.f2fs behaves abnormally when running on MIPS32
rel 2 big endian cpu, since incorrect endianness. So let's correct all
endianess issues of f2fs-tools.
Reported-by: <k@vodka.home.kg>
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
Bug: 34220783
Test: make checkbuild
Change-Id: I16b5969da75cc58297c35c34a698a5a5aa80f683
|
|
./configure --without-selinux :: unconditionally disable SELinux support
./configure --with-selinux :: enable SELinux support and abort if
libselinux is not found
When no configure option is specified the current libselinux
autodetection behaviour is preserved.
Signed-off-by: Sergey Kvachonok <ravenexp@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
4690bb2996 am: 365f4cdb6b
am: 46a72c5e17
Change-Id: Ib27fe08a05d75840b30d13b0057886c334720f56
|
|
4690bb2996
am: 365f4cdb6b
Change-Id: Idb4f4a642f70b44b5ace926ed27a16497407fa3c
|
|
am: 4690bb2996
Change-Id: I84d765449d0b4c79a0ee5e3019c84d4a3294825e
|
|
am: b54dc047e6
Change-Id: Iaf9375511455071ab36107ebd5a9807785311c56
|