]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools/squashfs4: fix rare data corruption issue 21458/head
authorShiji Yang <yangshiji66@outlook.com>
Thu, 8 Jan 2026 13:10:56 +0000 (21:10 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 9 Jan 2026 12:50:38 +0000 (13:50 +0100)
commitd93429888c847b0604bd504640c6f3c4dda3fc3d
tree251e857da181857ae6d37aff270271da98dbc752
parenta9254a593bac5fc20f49ad41cf9cd85b0cd8fc86
tools/squashfs4: fix rare data corruption issue

There is a chance that the squashfs4 tool may create a broken image
under certain conditions. Backport the fix from upstream to address
this issue.

Report: https://forum.openwrt.org/t/bug-squashfs4-tools-4-7-4-create-corrupted-image/244894
Fixes: 64432358e098 ("tools/squashfs4: update to 4.7.3")
Reported-by: Oleg S <remittor@gmail.com>
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21458
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/squashfs4/Makefile
tools/squashfs4/patches/0001-mksquashfs-don-t-create-duplicate-virtual-real-disk-.patch [new file with mode: 0644]