<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git, branch fixes-1.0.0</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=fixes-1.0.0</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=fixes-1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2022-12-03T14:34:30+00:00</updated>
<entry>
<title>Release version 1.0.7</title>
<updated>2022-12-03T14:34:30+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-12-03T14:34:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=756b9ce2d7fa8a4e19c734a2952358e09de51a5b'/>
<id>urn:sha1:756b9ce2d7fa8a4e19c734a2952358e09de51a5b</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix checksums for the corpora tests</title>
<updated>2022-08-19T17:58:42+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2021-08-14T16:56:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=69c393fc9b8d4c526f54383d145bafb484abf6c5'/>
<id>urn:sha1:69c393fc9b8d4c526f54383d145bafb484abf6c5</id>
<content type='text'>
Due to the change in directory size accounting, the checksums no
longer matched.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Remove lz4 &amp; zstd from corpus test</title>
<updated>2022-08-19T17:52:55+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2021-03-05T10:50:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=9a9d2ac397286fd2096f4aefb6c9ec752713c469'/>
<id>urn:sha1:9a9d2ac397286fd2096f4aefb6c9ec752713c469</id>
<content type='text'>
Relying on the output of a compressor to exactely match an expected
output is already not really a great idea, but for gzip, xz and lzo
it has worked remarkably well so far. Perhaps because those are rather
old and don't have much active development going on besides bug fixing.

On the other hand, lz4 and zstd which are much younger seem to have
more development going on and keep breaking between versions.

This commit removes the zstd &amp; lz4 corpus tests.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: libfstree: double free in error path</title>
<updated>2022-08-19T16:59:52+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-08-19T16:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ee92da3498723edb0049ed76479392da179ec5b9'/>
<id>urn:sha1:ee92da3498723edb0049ed76479392da179ec5b9</id>
<content type='text'>
If fstree_mknode fails, because the parent link count would overflow,
the function fails and cleans up behind it. The problem arises because
the function does this check *after* inserting the node in the parent
node, so it is later free'd again, when destroying the rest of the
tree.

This patch moves the insertion after the check to mitigate the problem.

Reported-by: Marvin Renich &lt;mrvn@renich.org&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: libfstree: actually use a full 32 bit hard link counter</title>
<updated>2022-08-19T16:45:35+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-07-08T15:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a9536fe9d0d2a01bf2b168e742736b014723c99b'/>
<id>urn:sha1:a9536fe9d0d2a01bf2b168e742736b014723c99b</id>
<content type='text'>
The squashfs on-disk format uses 32 bit link counters, but the fstree
used 16 bit ones. Because the link count also includes child nodes,
this artificially limited the number of entries in a directory to ~64k
files.

This patch removes the limit by switching libfstree to 32 bit counters.

Reported-by: Marvin Renich &lt;mrvn@renich.org&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Update built-in zlib version</title>
<updated>2022-03-30T21:08:38+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-03-30T14:38:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a9989093d0a8832df326f543940560431e884338'/>
<id>urn:sha1:a9989093d0a8832df326f543940560431e884338</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix mksrcrelease so version upgrade</title>
<updated>2022-03-30T21:08:31+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-03-14T12:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7ddf573e7b41e1f36fdfd6392f08e6cd00fcbd63'/>
<id>urn:sha1:7ddf573e7b41e1f36fdfd6392f08e6cd00fcbd63</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: guard against potential overflow in file size calculation</title>
<updated>2022-03-30T21:08:08+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-03-10T22:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=3afa0946239b31bf0487bb972e701cc85942445d'/>
<id>urn:sha1:3afa0946239b31bf0487bb972e701cc85942445d</id>
<content type='text'>
The block_count is a size_t, so on 32 bit platforms the multiplication
might be truncated before the comparison with filesz.

On 64 bit platforms, it could potentially also overflow the 64 bit
bounds of the data type.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: use correct printf specifier for 64bit types</title>
<updated>2022-03-30T21:08:00+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-03-10T22:17:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=589beda5d919037310793d9751c7be8e3d0521a1'/>
<id>urn:sha1:589beda5d919037310793d9751c7be8e3d0521a1</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix warning if __SIZEOF_INT128__ is not defined</title>
<updated>2022-03-30T21:07:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-03-10T22:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8963b95e1aacddd3329ff3ed5d1c4957685df4b3'/>
<id>urn:sha1:8963b95e1aacddd3329ff3ed5d1c4957685df4b3</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
