Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PitchBlackRecoveryProject/android_external_f2fs-tools


https://github.com/PitchBlackRecoveryProject/android_external_f2fs-tools

dump.f2fs: introduce dump_xattr

This patch introduces dump_xattr to create xattrs for dumped files.

Signed-off-by: Sheng Yong <...

7935c4e1f0157ba321be08cf4ed1b8e40ec32507 authored about 7 years ago by Sheng Yong <[email protected]>
fsck.f2fs: do not set fix_on directly

Do not set fix_on if it is allowed by user.

Signed-off-by: Sheng Yong <[email protected]>
R...

9d7651bcbe3ef24b6535c65aabfc35b8d4779fe1 authored about 7 years ago by Sheng Yong <[email protected]>
f2fs-tools: fix warnings when building in android

This patch tries to avoid all the warnings.

Signed-off-by: Jaegeuk Kim <[email protected]>

e53ad5b0714ba15f34ff4882f36b41237262e7b5 authored about 7 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: do not fix corrupted nat entries in build_nat_area_bitmap

Fixing corrupted data depends on c.fix_on. If it's not set, we should not
force fixing corrupted...

79f2c969a55dc966681db57416586d3795d6873a authored about 7 years ago by Sheng Yong <[email protected]>
mkfs.f2fs: set .so to cold files

This patch adds .so in cold file extention list.

Signed-off-by: Jaegeuk Kim <[email protected]>

f38fb6b275e9a19249cae704ca335e02be546487 authored about 7 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: support quota

This patch let fsck to check and fix quota file contents.

Signed-off-by: Hyojun Kim <hyojun@goo...

6c6bb35c8920f1094c355d6352ce7d9c333b5e48 authored about 7 years ago by Hyojun Kim <[email protected]>
mkfs.f2fs: support quota option in mkfs

This patch let mkfs to handle quota option and create quota files.

Signed-off-by: Hyojun Kim <h...

23a872f9bace9cc97a31293cdbc59522784004c0 authored about 7 years ago by Hyojun Kim <[email protected]>
f2fs-tools: f2fs_read() and f2fs_filesize_update() are added

This patch adds f2fs_read() and f2fs_filesize_update(). It also refactors
f2fs_write_block() and...

68593f49819cdbe772977763a0ea9f4f0c5ed75d authored about 7 years ago by Hyojun Kim <[email protected]>
sload.f2fs: fix bugs in f2fs_write_block()

Found and fixed following three bugs in f2fs_write_block() function.
- Write (4096 - offset) by...

5b2dc59ece7b3073d1cffb96233f15fd0c0ca6bf authored about 7 years ago by Hyojun Kim <[email protected]>
f2fs-tools: support flexible inline xattr size

This patch makes mkfs to support flexible inline xattr feature, also
this enables fsck to recogn...

8d46072f077f180e1e75948f80b994873359c74b authored about 7 years ago by Chao Yu <[email protected]>
fsck: introduce generic function f2fs_fsync_device

We use f2fs_finalize_device to fsync previous data in
checkpoint area before write last CP pack,...

1797a5f092f5a16c004d63ff66aa7c70e5260897 authored about 7 years ago by Yunlei He <[email protected]>
mkfs.f2fs: fix wrong end blkaddr

The end blkaddr should use main blkaddr and add main area segments.

Signed-off-by: Jaegeuk Kim ...

b449febe90e141bf44ccc8cc9f82daaedfb85fa9 authored about 7 years ago by Liu Xue <[email protected]>
Snap for 4393550 from 85258fb158a85eb291c127f3d15713da5d304733 to pi-release

Change-Id: I4542fc4d932ae4f5e5926a289005a17441dfeea5

124d83d84dd80617e7fdc0a4faafab5f69d3e9d2 authored about 7 years ago by android-build-team Robot <[email protected]>
Use -Werror in external/f2fs-tools am: e88258a81d am: 5d24dd5ef8 am: 20549cc9df

am: 362edffd43

Change-Id: Ib8a9c1245ad605081169271f75c087a3f164cef2

85258fb158a85eb291c127f3d15713da5d304733 authored about 7 years ago by Chih-Hung Hsieh <[email protected]>
Use -Werror in external/f2fs-tools am: e88258a81d am: 5d24dd5ef8

am: 20549cc9df

Change-Id: I05436a04e9beef65b8978125adc128f6bfd38259

362edffd43dbed459882e4d43097102a49fa96ea authored about 7 years ago by Chih-Hung Hsieh <[email protected]>
Use -Werror in external/f2fs-tools am: e88258a81d

am: 5d24dd5ef8

Change-Id: Idf7684af1ad99b52cda1b1f5995467f01880eb87

20549cc9df69a165f8c7baf43e10f210d09f4675 authored about 7 years ago by Chih-Hung Hsieh <[email protected]>
Use -Werror in external/f2fs-tools

am: e88258a81d

Change-Id: Ic5e5f83ccf866ae37c60d2da5f1bd12fbe3234e6

5d24dd5ef8988828c3cbe0afa80a86029e115d11 authored about 7 years ago by Chih-Hung Hsieh <[email protected]>
Use -Werror in external/f2fs-tools

* Suppress existing warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ie0a07414a4...

e88258a81dd76dceccd1dc07e64007e6854914a2 authored about 7 years ago by Chih-Hung Hsieh <[email protected]>
release-request-ed8626b9-4479-4c76-9207-5f511f136606-for-git_pi-release-4354758 snap-temp-L65900000105223161

Change-Id: If209aed272f6e14bad6532eb11828686224d2882

cf08ce3a45f6d5e2c3bfea76221feba9fa69b3a7 authored over 7 years ago by android-build-team Robot <[email protected]>
f2fs-tools: release 1.9.0

This release includes:
- sparse support
- inode checksum support
- nat_bits option
- encrypt...

217f7a6c7dde8678ed32e09923e1b175f6dd3827 authored over 7 years ago by Chao Yu <[email protected]>
f2fs-tools: release 1.9.0

This release includes:
- sparse support
- inode checksum support
- nat_bits option
- encrypt...

c6d5ec2faa70bb0d5faf7ee502ef6f3fc4d3acaa authored over 7 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: move_curseg_info only if check_curseg_offset fails

Current design will lose recovery process when check_curseg_offset is OK.

Signed-off-by: Yunlon...

d879e7ebde85527c4d8fc7a4ca5887cec5a76d2c authored over 7 years ago by Yunlong Song <[email protected]>
f2fs-tools: fix is_set_ckpt_flags for correct bool value

If flag bit to check is in 0xFFFFFF00, then the return value will be false,
this is not correct,...

f4078d7e5b61fb5206d084fd58cbf3b52b2fc9a4 authored over 7 years ago by Yunlong Song <[email protected]>
f2fs-tools: add cscope files to .gitignore

Signed-off-by: Yunlong Song <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
...

0e18bc4d15b6f0e8f1fd9c13239c625267486d04 authored over 7 years ago by Yunlong Song <[email protected]>
mkfs.f2fs: fix wrong curseg check

We should avoid i==j, otherwise we always assign 0~5 segments.

Reviewed-by: Chao Yu <yuchao0@hu...

9448c14055445eb16e14d9df18c2dd40e85c3ac0 authored over 7 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: write back last cp block in the end

Write back last cp block in the end in case of sudden power off
during fsck process

Signed-off-...

8d9885de45c2f6f80729851ad83bfc9aa07a6ca3 authored over 7 years ago by Yunlei He <[email protected]>
mkfs.f2fs: fix missing cpu_to_le64 for checkpoint version

The error on mips was reported by Stijn as follow.

Commit 8399a29df92d6867d226df362edbf2e0efa52...

410ee3b2ea33166d7235219719e91fe6f407d121 authored over 7 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: support inode checksum

This patch introduce a new option 'inode_checksum' for enabling inode
checksum functionality in ...

74577262612f4ae8b31475bfda9b49318f188a4c authored over 7 years ago by Chao Yu <[email protected]>
f2fs-tools: fix printing block adresses

This patch allows properly printing all addresses in an inode.
It is useful in commands like dum...

38c7581ee3acb9af3ca32a12b029dafcd6892d88 authored over 7 years ago by Piotr Sokołowski <[email protected]>
f2fs-tools: support project quota

This patch introduce a new option 'project_quota' for enabling project
quota functionality durin...

a3d9db1f88317d9ce094b07a73d115f24d56c99a authored over 7 years ago by Chao Yu <[email protected]>
f2fs-tools: enhance on-disk inode structure scalability

This patch adds an option 'extra_attr' in mkfs for enabling v2 f2fs
inode format in kernel codes...

dad33a1ee721d80bf7421312214083a27404c189 authored over 7 years ago by Chao Yu <[email protected]>
f2fs-tools: add atomic_write feature flag

This patch adds atomic_write feature flag.

Signed-off-by: Jaegeuk Kim <[email protected]>

8721519c8da4a0131396997b1a538c5e7a55d063 authored over 7 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: spread struct f2fs_dentry_ptr for inline path

Use f2fs_dentry_ptr structure to indicate inline dentry structure as
much as possible, so we can...

8b4406a5bd109658574044179a37fb7af8019eba authored over 7 years ago by Chao Yu <[email protected]>
rename f2fs host executable am: 85b4766bed am: 6406a32e3d am: 27a6ad377c

am: 140a0cd96e -s ours

Change-Id: I854c58ef479f0e12abf4ccbe7c8a4720d9c4f180

6e0551d320a0af905656df0e916c16ec52b0e96b authored over 7 years ago by Yang Jin <[email protected]>
add sparse support for f2fs am: 42c4b98e37 am: bff406ae2e am: d16ae2908c

am: c03cc44ae0 -s ours

Change-Id: I996fabf690bbaf441417997a5b96429b3b4fe64d

d1e4fce05e78739adba177d5063e63a48bb63e73 authored over 7 years ago by Yang Jin <[email protected]>
f2fs-tools: merge -next changes am: ddd7ebd6e6 am: 7d8bbc5e03 am: 03ad1f2a02

am: 3dc158fe96 -s ours

Change-Id: I86a31a18e8ceccd547349b2fc2cee65e8dd0a6ba

891bb8a2974bfb84b40f6b2663dec76dad8ca12d authored over 7 years ago by Jaegeuk Kim <[email protected]>
rename f2fs host executable am: 85b4766bed am: 6406a32e3d

am: 27a6ad377c

Change-Id: I895306df0a9b0b9edeb611719bfbcc41d31cdb34

140a0cd96ef6bd7b6f0fee5f064eb065bd794b04 authored over 7 years ago by Yang Jin <[email protected]>
add sparse support for f2fs am: 42c4b98e37 am: bff406ae2e

am: d16ae2908c

Change-Id: I0228172e83847fbcb74a82e3051c8886a8e5afce

c03cc44ae0e2d9eda5e1ff94ac3423541fea3b3d authored over 7 years ago by Yang Jin <[email protected]>
f2fs-tools: merge -next changes am: ddd7ebd6e6 am: 7d8bbc5e03

am: 03ad1f2a02

Change-Id: I4c2e21830563cef7b3f833e0925abea9122b9fbe

3dc158fe96459aee96966e74546261d5fc27bd0b authored over 7 years ago by Jaegeuk Kim <[email protected]>
rename f2fs host executable am: 85b4766bed

am: 6406a32e3d

Change-Id: I8e0a7258d3e09cb59cbc2b6bfbe66bc281ebeba4

27a6ad377c141f95ac208a0302a1a50cabeeff3c authored over 7 years ago by Yang Jin <[email protected]>
add sparse support for f2fs am: 42c4b98e37

am: bff406ae2e

Change-Id: I910e32d956b786fe85aef571da10aa8443af01d1

d16ae2908c9819300a2a9596b7e4d237905ef7ee authored over 7 years ago by Yang Jin <[email protected]>
f2fs-tools: merge -next changes am: ddd7ebd6e6

am: 7d8bbc5e03

Change-Id: Iabd45efe9193651f7f02a7473313f26e69465ab7

03ad1f2a024c56390096451c20e12a552307c204 authored over 7 years ago by Jaegeuk Kim <[email protected]>
rename f2fs host executable

am: 85b4766bed

Change-Id: I12d607f16a3ee39836e3da8f8bc07e07cef1a0c5

6406a32e3d0c90ffda91d66d57f17fe46d958163 authored over 7 years ago by Yang Jin <[email protected]>
add sparse support for f2fs

am: 42c4b98e37

Change-Id: I8ff14eedd7c334ab2fb28c03d71f1de638b96627

bff406ae2e208700c7489b3f23efdb45398d6edc authored over 7 years ago by Yang Jin <[email protected]>
f2fs-tools: merge -next changes

am: ddd7ebd6e6

Change-Id: I1aafe881cd8ed8e04430186c2ee88dd655b7519e

7d8bbc5e03b78fcef1a9eebadaf34104e4bd1385 authored over 7 years ago by Jaegeuk Kim <[email protected]>
rename f2fs host executable

change name of host executable from make_f2fs_host to make_f2fs

Tests: ./make_f2fs -S 200000000...

85b4766bedbbe8b2dfdc23b401194c9dd3c60dd0 authored over 7 years ago by Yang Jin <[email protected]>
add sparse support for f2fs

Description:
modify I/O operations to support writing in sparse format
build host executable for...

42c4b98e37922589649604a712f6e15f4dfb9d29 authored over 7 years ago by Yang Jin <[email protected]>
f2fs-tools: merge -next changes

Changes include:
mkfs.f2fs: drop initial spaces for feature string
f2fs-tools: avoid build war...

ddd7ebd6e6a7c2f6b499cab08c1fac230edb920b authored over 7 years ago by Jaegeuk Kim <[email protected]>
rename f2fs host executable

change name of host executable from make_f2fs_host to make_f2fs

Tests: ./make_f2fs -S 200000000...

bd9de8f56de2771d8dcecc0284ad6b1447fbf8fb authored over 7 years ago by Yang Jin <[email protected]>
Add OWNERS in external/f2fs-tools am: 15dcc016f9 am: 0aa6f084ea am: 667e2b32fe

am: b59491cfa2

Change-Id: Ib56149f184b05dfcad2e700d9ba7eb496e23da1d

0f3a8331e3b9bfa3d533e67747d3f83f62047b0e authored over 7 years ago by Chih-Hung Hsieh <[email protected]>
Add OWNERS in external/f2fs-tools am: 15dcc016f9 am: 0aa6f084ea

am: 667e2b32fe

Change-Id: I08166751750112a4f5babaa354ce9d1ec20115cf

b59491cfa23a20c4a25017e393176dfacf865591 authored over 7 years ago by Chih-Hung Hsieh <[email protected]>
Add OWNERS in external/f2fs-tools am: 15dcc016f9

am: 0aa6f084ea

Change-Id: I56e8013ac7e8eceeeb0148959f3454ae1ba22f9d

667e2b32fe5fa7e623869173831a6a4e8d5e59f9 authored over 7 years ago by Chih-Hung Hsieh <[email protected]>
Add OWNERS in external/f2fs-tools

am: 15dcc016f9

Change-Id: I663e386e76d9d3684916bfba2b0f6f08d1beeefb

0aa6f084ea71400264846719c70de239654e7842 authored over 7 years ago by Chih-Hung Hsieh <[email protected]>
Add OWNERS in external/f2fs-tools

* Owners are selected from top CL approvals or owners.
They will be suggested to review/approv...

15dcc016f9b674a71e2a25466d8835e5255fef86 authored over 7 years ago by Chih-Hung Hsieh <[email protected]>
add sparse support for f2fs

Description:
modify I/O operations to support writing in sparse format
build host executable for...

4abc53c38f38b1edb9da21348faa963ec16a08fc authored over 7 years ago by Yang Jin <[email protected]>
add sparse support for f2fs

Description:
modify I/O operations to support writing in sparse format
build host executable for...

91a801f1627c1b09535f28c8d91a87c033928a9b authored over 7 years ago by Yang Jin <[email protected]>
f2fs-tools: merge -next changes

Changes include:
mkfs.f2fs: drop initial spaces for feature string
f2fs-tools: avoid build war...

f070415c0bededac9ca300e4cac1560bbbd9d44f authored over 7 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: drop initial spaces for feature string

This patch removes initial spaces to detect correct feature string.

Signed-off-by: Jaegeuk Kim ...

ea008a24f7c36340ae012fad404537d2c19de284 authored over 7 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: avoid build warnings

This patch resolves warnings while building it in android.

Signed-off-by: Jaegeuk Kim <jaegeuk@...

8e29c2be47bdcc525c94106cea2041ff0541e4f2 authored over 7 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: avoid wrong discard of dnode

This can drop root inode, which can be caused by previous stale data.

Signed-off-by: Jaegeuk Ki...

5c997676258335c60a290c15fbec585f80d5de5c authored over 7 years ago by Jaegeuk Kim <[email protected]>
Adjust f2fs makefile to cope with <sys/sysmacros.h> split. am: 6bd9b2940d am: b8d5850d6b am: f34e8f421d

am: e8b99cf64c

Change-Id: I188e40b18739e4ec6d4f5af0ef48d5aee3147963

eee859fea195be26a14b776870a6edbdd3d15c99 authored over 7 years ago by Elliott Hughes <[email protected]>
Adjust f2fs makefile to cope with <sys/sysmacros.h> split. am: 6bd9b2940d am: b8d5850d6b

am: f34e8f421d

Change-Id: I5c855cf49ad5632720aeacfd2423a6d8a4ef2d93

e8b99cf64c366f22fa0cd90b4cf15e1aad0b8835 authored over 7 years ago by Elliott Hughes <[email protected]>
Adjust f2fs makefile to cope with <sys/sysmacros.h> split. am: 6bd9b2940d

am: b8d5850d6b

Change-Id: I126ebc7432f42720dbd1a553f280f1b8449171a7

f34e8f421d720a83056c85225cdc3e0edc4253ef authored over 7 years ago by Elliott Hughes <[email protected]>
Adjust f2fs makefile to cope with <sys/sysmacros.h> split.

am: 6bd9b2940d

Change-Id: Id01010a15769672c5cbdd01ee88fb0c23fbe0190

b8d5850d6b4730af20a28a9e582ce7dec2bc8fcd authored over 7 years ago by Elliott Hughes <[email protected]>
Adjust f2fs makefile to cope with <sys/sysmacros.h> split.

Bug: https://github.com/android-ndk/ndk/issues/398
Test: builds
Change-Id: Ifc4892f09a32bda246bd...

6bd9b2940d117c5b65d3a7a9b24b6055d085c1c9 authored over 7 years ago by Elliott Hughes <[email protected]>
f2fs-tools: fix the wrong message when errno is EBUSY

If f2fs is unmounted with the -l option, the process can still use the
file system. In this case...

d9180db7d41a7ce99c6458dbe1578d775c4a3f58 authored over 7 years ago by Tiezhu Yang <[email protected]>
fsck.f2fs: sanity check segno and blk_off when building curseg array

segno and blk_off were read from input image without sanity check. This
could lead to buffer ove...

8be4c2d04755d8d7b3c4dd9b15b1b1345c53d14a authored over 7 years ago by Jin Qian <[email protected]>
fsck.f2fs: sanity check cp_payload before reading checkpoint

cp_payload is not sanity checked from input image. A invalid size
can cause buffer overflow when...

2010f975eefe4bb74623a0699527bea4ba726c06 authored over 7 years ago by Jin Qian <[email protected]>
fsck.f2fs: sanity check blk_off for summary block entries

crafted malicious f2fs partition can fill an out of bound blk_off,
which cause overflow when acc...

2c3f0a64f8feebc5292eaa98de73a8c30aebf686 authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: sanity check segment count

make sure segment count in super block doesn't exceed F2FS_MAX_SEGMENT.

Bug: 36392513
Bug: 3681...

1a59456653beccf08281281c32abfa4fff785f73 authored over 7 years ago by Jin Qian <[email protected]>
fsck.f2fs: fix cur_valid_map buffer overflow

blk_off is read from image. Attacker can construct an image with big
blk_off that trigger overfl...

3a3c6c2eb7e69acbb99a351e20a621cde956f9c5 authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: update android makefile after upgrading to 1.8.0 am: cb1d44227d am: 9c708503ba am: cef78a95c1

am: 6f4b7b6b15

Change-Id: I97a7c68c80acfa9762791ff468b5287d179f317f

a45edd9401e195db7934340df5d3479bfc9d633d authored over 7 years ago by Jin Qian <[email protected]>
Merge branch 'remotes/goog/upstream-master' into master am: 0254bdb9e1 am: 5bf5839828 am: f4bfa40f51

am: 93f3f63159

Change-Id: Id4b459557ea7a6a32c576aa4914ef95f6df1366b

6832c8f84b82b3fdf93b58e676a26f5829357b2e authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: update android makefile after upgrading to 1.8.0 am: cb1d44227d am: 9c708503ba

am: cef78a95c1

Change-Id: If8c9e5d6e5d0b7ad3881d49576207079b3aa418c

6f4b7b6b15cb6e22d14d2f4306d8520e62b03f53 authored over 7 years ago by Jin Qian <[email protected]>
Merge branch 'remotes/goog/upstream-master' into master am: 0254bdb9e1 am: 5bf5839828

am: f4bfa40f51

Change-Id: I2e56540d25d730f5261a26ecd190233c64c80bd6

93f3f631592dc62ccb6df9aee9533623789dfc26 authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: update android makefile after upgrading to 1.8.0 am: cb1d44227d

am: 9c708503ba

Change-Id: Idb96b619f6901e8f08c8df3d0038244579b296c6

cef78a95c15fb525d143d685c65cb4deed6a5c38 authored over 7 years ago by Jin Qian <[email protected]>
Merge branch 'remotes/goog/upstream-master' into master am: 0254bdb9e1

am: 5bf5839828

Change-Id: Icdeb9668d82ad8eea318065879fa32e4126275ce

f4bfa40f517462065d097e0bdb5688030ed478bd authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: update android makefile after upgrading to 1.8.0

am: cb1d44227d

Change-Id: Ibd48efee95a47f766784e11f9671cd990f20f2f9

9c708503ba48aa773b793314feffca5509184492 authored over 7 years ago by Jin Qian <[email protected]>
Merge branch 'remotes/goog/upstream-master' into master

am: 0254bdb9e1

Change-Id: Ib680dd7a999cad7f605e2cb28dd7d68340a98bba

5bf5839828ddf2e2a530b9f4e3591fb92d3b92bd authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: update android makefile after upgrading to 1.8.0

Test: format userdata to f2fs and boot
Bug: 37758867
Change-Id: I0bdb7c4235d454094ff37182b2ef8e8...

cb1d44227d9b86165a1e5d5b6beeb7afbfda3846 authored over 7 years ago by Jin Qian <[email protected]>
Merge branch 'remotes/goog/upstream-master' into master

upgrade f2fs-tools from 1.4.1 to 1.8.0

Test: format userdata to f2fs and boot
Bug: 37758867
Cha...

0254bdb9e1c201604a3657c776f6537dffdb67e2 authored over 7 years ago by Jin Qian <[email protected]>
f2fs-tools: support to set and recognize CP_TRIMMED_FLAG

During mkfs, once we have issued discard for all device, we can set
CP_TRIMMED_FLAG in cp pack, ...

f642b24822c6cba5808a7517f23d423b05e57c8c authored over 7 years ago by Chao Yu <[email protected]>
fsck.f2fs: sanity check segno and blk_off when building curseg array

segno and blk_off were read from input image without sanity check. This
could lead to buffer ove...

892e1542e745d1e504093487dc633b5ef8345be1 authored over 7 years ago by Jin Qian <[email protected]>
fsck.f2fs: sanity check cp_payload before reading checkpoint

cp_payload is not sanity checked from input image. A invalid size
can cause buffer overflow when...

b79c3ba4ea9d1342dfd2ddcdcc28a1d5d90e43ce authored over 7 years ago by Jin Qian <[email protected]>
fsck.f2fs: sanity check blk_off for summary block entries

crafted malicious f2fs partition can fill an out of bound blk_off,
which cause overflow when acc...

d87fc37b028fe6587a1ee3edac8fea7b78cf4842 authored over 7 years ago by Jin Qian <[email protected]>
mkfs.f2fs: fix wrong segment assignment

We must guarantee that current segments should be different between different
logs.
This should ...

33ddf01c7920807bbae2baf1d79dffa169ffd718 authored over 7 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: sanity check segment count

make sure segment count in super block doesn't exceed F2FS_MAX_SEGMENT.

Signed-off-by: Jin Qian...

6ab50775faa8fb2c89c04ef8cc7ce2f4f23205fc authored over 7 years ago by Jin Qian <[email protected]>
Fix mkfs out of tree builds

Libraries are built in builddir, not srcdir, fix Makefile.am
accordingly.

Signed-off-by: Yong, ...

0f9e1e23dac0d9c448a8af9827172ce9586b6bdc authored over 7 years ago by Yong, Jonathan <[email protected]>
fsck.f2fs: fix cur_valid_map buffer overflow

blk_off is read from image. Attacker can construct an image with big
blk_off that trigger overfl...

8a519851200c84a5ab1029c9c7422758babd5695 authored over 7 years ago by Jin Qian <[email protected]>
mkfs.f2fs: use noheap by default

Let's set noheap by default.

Signed-off-by: Jaegeuk Kim <[email protected]>

8f9327c0c02ee1f2d198d89b6cb2c665f2ce44a8 authored over 7 years ago by Jaegeuk Kim <[email protected]>
LOCAL_EXPORT_CFLAGS doesn't exist am: a32b1b9703

am: 657b6bc2be

Change-Id: I7ab1e888f9189ba53613519938cbd3e0c7e1f7ff

f41d5f88cbb6cf74712e7e74df490791d9e7ca3a authored almost 8 years ago by Dan Willemsen <[email protected]>
LOCAL_EXPORT_CFLAGS doesn't exist

am: a32b1b9703

Change-Id: Icf87ed5fbf263e4227e3f5d319f9dddbded0750f

657b6bc2be4e31d3855d9f04694997843dfea723 authored almost 8 years ago by Dan Willemsen <[email protected]>
LOCAL_EXPORT_CFLAGS doesn't exist

It's about to exist, but it will be an error to use in normal
Android.mk files.

Test: none, thi...

a32b1b97037bc6b7b3bd47dcf2a84ac599725f6a authored almost 8 years ago by Dan Willemsen <[email protected]>
Merge "LOCAL_EXPORT_CFLAGS doesn't exist" am: ff6619b739 am: 0b45c15ecc am: d035d7af83

am: b3d61c3e76

Change-Id: Ief66af95ace881fb6213d483bd50d040cf7a962c

7494538d95fa48141c3c6f2be23ca66172979997 authored almost 8 years ago by Dan Willemsen <[email protected]>
Merge "LOCAL_EXPORT_CFLAGS doesn't exist" am: ff6619b739 am: 0b45c15ecc

am: d035d7af83

Change-Id: I11b05beac2219da6cc03c1b54e5555a082b6d195

b3d61c3e7648d599e8505780c590748c068ee05d authored almost 8 years ago by Dan Willemsen <[email protected]>
Merge "LOCAL_EXPORT_CFLAGS doesn't exist" am: ff6619b739

am: 0b45c15ecc

Change-Id: I4659b076a0629cc67ee8a6b4d3021d70331729f1

d035d7af83b3fb5253f9f856d8709dd9d58a9645 authored almost 8 years ago by Dan Willemsen <[email protected]>
Merge "LOCAL_EXPORT_CFLAGS doesn't exist"

am: ff6619b739

Change-Id: I66e6ef3cd9ada87e475d17f2460ca15286c2b5c1

0b45c15ecc024a2e76131abca06f16426f1b4ffa authored almost 8 years ago by Dan Willemsen <[email protected]>
Merge "LOCAL_EXPORT_CFLAGS doesn't exist"

ff6619b7398485f72269de4f6ca1aa72ef9e7e72 authored almost 8 years ago by Treehugger Robot <[email protected]>
LOCAL_EXPORT_CFLAGS doesn't exist

It's about to exist, but it will be an error to use in normal
Android.mk files.

Test: none, thi...

e68e2cef9eafb1b7a1c83864ca58b0cf85659347 authored almost 8 years ago by Dan Willemsen <[email protected]>
libf2fs: avoid overwrite the c.start_sector by non-root device

For multiple devices, the c.start_sector will be overwrite by the non-root devices.

Signed-off-...

f57dee09fb077a8fda1215e2549740f223cb4ec6 authored almost 8 years ago by Kinglong Mee <[email protected]>