aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2024-09-12 15:41:56 +0800
committerGao Xiang <[email protected]>2024-09-12 23:00:09 +0800
commit7c3ca1838a7831855cbf2e6927a10e0e4723edf6 (patch)
treeecdcfadd129552f99178ced9ef11a890bdaa63c3 /lib/test_fortify/write_overflow-strncpy-src.c
parent79f504a2cd3c0b7d953d0015618a2a41559a2cfd (diff)
erofs: restrict pcluster size limitations
Error out if {en,de}encoded size of a pcluster is unsupported: Maximum supported encoded size (of a pcluster): 1 MiB Maximum supported decoded size (of a pcluster): 12 MiB Users can still choose to use supported large configurations (e.g., for archival purposes), but there may be performance penalties in low-memory scenarios compared to smaller pclusters. Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions