]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools/squashfs4: fix rare data corruption issue
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 16:09:31 +0000 (17:09 +0100)
commitd925dd48871ba939afbc050494592131b7d73298
tree6d2b041314c3f03e3b9b4ce4283b32ff05c56895
parent99a46b745cdd3ee03096cba166fd28ce9baa9034
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>
(cherry picked from commit d93429888c847b0604bd504640c6f3c4dda3fc3d)
tools/squashfs4/Makefile
tools/squashfs4/patches/0001-mksquashfs-don-t-create-duplicate-virtual-real-disk-.patch [new file with mode: 0644]