<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/tests, 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-08-19T17:58:42+00:00</updated>
<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>Add a test case for the path traversal bug</title>
<updated>2021-08-14T13:19:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2021-08-14T10:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2f494d26a65cde5da1ef797070bc439f2431265c'/>
<id>urn:sha1:2f494d26a65cde5da1ef797070bc439f2431265c</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Remove casual un-const casting in various places</title>
<updated>2021-06-25T15:48:49+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2021-06-24T14:07:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a32b5a9c793e4f4a4577837b73e783386842db02'/>
<id>urn:sha1:a32b5a9c793e4f4a4577837b73e783386842db02</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix normalization of slashes in filenames</title>
<updated>2020-12-29T11:39:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-12-29T11:10:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b04ff42f1640a4dd67af043f08b62ac4ec96edc7'/>
<id>urn:sha1:b04ff42f1640a4dd67af043f08b62ac4ec96edc7</id>
<content type='text'>
All paths were canonicalized internally, which includes filtering
sequences of slashes and converting backslashes to slashes.
Furthermore, when unpacking files, filenames are sanity checked
and rejected if they contain forward OR backward slashes.

This is a problem on Unix-like systems, where files containing
backslashes are a legitimate use case (*cough* SystemD *cough*).

This patch removes the backslash conversion from the canonicalization
and modifies the sanity check to reject backslashes only on Windows.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Backport changes to the test setup</title>
<updated>2020-11-02T10:49:44+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-10-31T20:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7c4b2a289cab34e4ec1b966663530a7babf08707'/>
<id>urn:sha1:7c4b2a289cab34e4ec1b966663530a7babf08707</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a test case for tar2sqfs root becomes file &amp; link filtering</title>
<updated>2020-10-31T17:34:37+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-10-31T16:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=3e98d13d625f3a13fb183ee44627ab9e65dca378'/>
<id>urn:sha1:3e98d13d625f3a13fb183ee44627ab9e65dca378</id>
<content type='text'>
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>
</feed>
