Closed Gottox closed 12 months ago
This script generates an archive that triggers the issue:
for i in $(seq 1 3641); do
echo "dir$i d 777 0 0";
echo "dir$i/file c 776 0 0 100 1";
done > /tmp/pseudo;
mksquashfs /var/empty /tmp/file.squashfs -pf /tmp/pseudo -noappend
fixed in #142
Describe the bug When
libsqsh
is compiled in debug mode it performs a dangling pointer check during cleanup. This error is triggered by certain sqfs files.To Reproduce
build/tools/sqsh-ls -r /tmp/trigger.sqfs
Expected behavior
The IOT instruction should not trigger.
Platform (please complete the following information):
Additional context none