diff options
author | Gao Xiang <[email protected]> | 2023-09-07 13:05:42 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2023-09-11 08:03:32 +0800 |
commit | 75a5221630fe5aa3fedba7a06be618db0f79ba1e (patch) | |
tree | ab7720ebe12e5c3edbd148c5f7368fe738ae7b96 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
erofs: fix memory leak of LZMA global compressed deduplication
When stressing microLZMA EROFS images with the new global compressed
deduplication feature enabled (`-Ededupe`), I found some short-lived
temporary pages weren't properly released, which could slowly cause
unexpected OOMs hours later.
Let's fix it now (LZ4 and DEFLATE don't have this issue.)
Fixes: 5c2a64252c5d ("erofs: introduce partial-referenced pclusters")
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