<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git, branch v1.0.2</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=v1.0.2</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v1.0.2'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2020-09-03T16:28:09+00:00</updated>
<entry>
<title>Patch level release 1.0.2</title>
<updated>2020-09-03T16:28:09+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-09-03T15:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b96f0fc154feef531be76034bf6e38925636146f'/>
<id>urn:sha1:b96f0fc154feef531be76034bf6e38925636146f</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix integer bounds checking in GNU tar sparse format 1.0 parser</title>
<updated>2020-09-03T16:28:09+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-09-03T15:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=c6d289ab9e604369c25ed2c766842318f74e9256'/>
<id>urn:sha1:c6d289ab9e604369c25ed2c766842318f74e9256</id>
<content type='text'>
 - Make sure the file actually has that many records before trying
   to read one and fail if not.
 - Use the helper macros for size_t overflow checking instead of
   assuming size_t == uint64_t.
 - Impose a "reasonable" upper bound on the number of data segments
   and insist that there is at least one entry.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Remove tar test cases for file flags (not applicable)</title>
<updated>2020-09-03T16:28:09+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-09-03T15:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4c053b734cc6645ee75a11dd323bd777165d4782'/>
<id>urn:sha1:4c053b734cc6645ee75a11dd323bd777165d4782</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: reduce tar test cases to a few generic C files</title>
<updated>2020-09-03T15:01:32+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-09-03T15:01:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=50067dafdb36ac2a6cbdb0186fa22082cf424e9a'/>
<id>urn:sha1:50067dafdb36ac2a6cbdb0186fa22082cf424e9a</id>
<content type='text'>
This commit removes the existing tar test cases that simply call the
generic test case function with several different paths with generic
test case source files that are parameneterized via the pro-processor.
For each tar archive, a separate test case is generated.

On the one hand, this reduces the test source code to practically
nothing. On the other hand, a test binary is generated for every
distinct test case, instead of one per group and we get more detailed
insights if something goes wrong.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup copy &amp; paste mess in the tar parser test cases</title>
<updated>2020-09-03T12:37:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-09-03T11:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=face4b1257b6f897906f51510b7f4e8793e6465a'/>
<id>urn:sha1:face4b1257b6f897906f51510b7f4e8793e6465a</id>
<content type='text'>
Many of the patterns tested are very repetetive. This commit moves the
two common test cases out into helper functions and uses them for
the test cases.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix nonexistant gnu tar sparse format 1.0 support</title>
<updated>2020-09-02T09:19:11+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-09-02T09:19:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=84ff0984bb5b471d0b4cbc0b0fca156c29273bf5'/>
<id>urn:sha1:84ff0984bb5b471d0b4cbc0b0fca156c29273bf5</id>
<content type='text'>
Contrary to previous claims, support for the GNU tar sparse format 1.0
was missing entirely (the newest of their 3 different sparse mapping
formats). This oversight wasn't caught, because the unit test was
compiling the wrong source file and tar2sqfs had no problem processing
the test file because it is still a valid POSIX-ish tar archive (but
the sparse part was missing and the mapping embedded in the file).

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add package scripts to the release tarball</title>
<updated>2020-08-29T15:27:49+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-08-29T15:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ba5e71a40af4bcc0f2427dc0b4575802da09af56'/>
<id>urn:sha1:ba5e71a40af4bcc0f2427dc0b4575802da09af56</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix rdsquashfs unpack under Windows if a directory exists</title>
<updated>2020-08-26T16:23:35+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-08-26T16:23:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4afd9632251a8c050a44e8cad8fc2ccc45a35a2a'/>
<id>urn:sha1:4afd9632251a8c050a44e8cad8fc2ccc45a35a2a</id>
<content type='text'>
Behave the same way as the POSIX port and do not treat
that as an error.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix tree node path generation for detached sub trees</title>
<updated>2020-08-26T08:55:21+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-08-26T08:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ce8d6217fe7ed4d40af23242be4eaef8e53385a3'/>
<id>urn:sha1:ce8d6217fe7ed4d40af23242be4eaef8e53385a3</id>
<content type='text'>
The function sqfs_tree_node_get_path is used in several places within
rdsquashfs to produce a path for a tree node, either when describing
the file system, or when unpacking it. Unpacking can be done on
sub-trees as well as the entire tree, in which case the root of the
sub-tree has its parent pointer removed, so the full path terminates
at the new root.

This works with directories, since they receive special case handling
anyway, but fails if the sub-tree to unpack is only a single file
because the sqfs_tree_node_get_path function assumes that we are at the
tree root and returns "/" as a path, which gets normalized to "".

This commit adds a workaround to the function to simply use the nodes
name (if available) in that case instead.

The describe case in rdsquashfs is unaffacted, since it always starts
at the root. Likewise, the sqfs2tar case should also be unaffacted,
since it already employs special case handling for the [sub] tree root
node.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add spec file to build RPM packages.</title>
<updated>2020-08-20T15:32:08+00:00</updated>
<author>
<name>Sébastien Gross</name>
<email>seb•ɑƬ•chezwam•ɖɵʈ•org</email>
</author>
<published>2020-08-20T08:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b7052efb163e90c40be9f2886ab1e207048bc70d'/>
<id>urn:sha1:b7052efb163e90c40be9f2886ab1e207048bc70d</id>
<content type='text'>
Signed-off-by: Sébastien Gross &lt;seb•ɑƬ•chezwam•ɖɵʈ•org&gt;
</content>
</entry>
</feed>
