<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/fs/squashfs/dir.c, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2016-05-09T15:41:15Z</updated>
<entry>
<title>romfs, squashfs: switch to -&gt;iterate_shared()</title>
<updated>2016-05-09T15:41:15Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2016-05-01T03:08:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d375570fa83761161bb3d9120e0260dec66f051d'/>
<id>urn:sha1:d375570fa83761161bb3d9120e0260dec66f051d</id>
<content type='text'>
don't need to lock directory in -&gt;llseek(), either

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: add corruption check for type in squashfs_readdir()</title>
<updated>2013-09-06T03:57:54Z</updated>
<author>
<name>Phillip Lougher</name>
<email>phillip@squashfs.org.uk</email>
</author>
<published>2013-09-04T01:58:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9e012423869e1efbae3762b87ceab509027231c9'/>
<id>urn:sha1:9e012423869e1efbae3762b87ceab509027231c9</id>
<content type='text'>
We read the type field from disk.  This value should be sanity
checked for correctness to avoid an out of bounds access when
reading the squashfs_filetype_table array.

Signed-off-by: Phillip Lougher &lt;phillip@squashfs.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: add corruption check in get_dir_index_using_offset()</title>
<updated>2013-09-06T03:57:53Z</updated>
<author>
<name>Phillip Lougher</name>
<email>phillip@squashfs.org.uk</email>
</author>
<published>2013-09-03T03:52:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f960cae5357d8e52b8af91e8b1621cae565dffb3'/>
<id>urn:sha1:f960cae5357d8e52b8af91e8b1621cae565dffb3</id>
<content type='text'>
We read the size (of the name) field from disk.  This value should
be sanity checked for correctness to avoid blindly reading
huge amounts of unnecessary data from disk on corruption.

Note, here we're not actually reading the name into a buffer, but
skipping it, and so corruption doesn't cause buffer overflow, merely
lots of unnecessary amounts of data to be read.

Signed-off-by: Phillip Lougher &lt;phillip@squashfs.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: fix corruption checks in squashfs_readdir()</title>
<updated>2013-09-06T03:57:53Z</updated>
<author>
<name>Phillip Lougher</name>
<email>phillip@squashfs.org.uk</email>
</author>
<published>2013-09-03T03:38:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=68e7f412370ecfeb1bd667d0d174fad34517516e'/>
<id>urn:sha1:68e7f412370ecfeb1bd667d0d174fad34517516e</id>
<content type='text'>
The dir_count and size fields when read from disk are sanity
checked for correctness.  However, the sanity checks only check the
values are not greater than expected.  As dir_count and size were
incorrectly defined as signed ints, this can lead to corrupted values
appearing as negative which are not trapped.

Signed-off-by: Phillip Lougher &lt;phillip@squashfs.org.uk&gt;
</content>
</entry>
<entry>
<title>[readdir] convert squashfs</title>
<updated>2013-06-29T08:56:28Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2013-05-16T05:17:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5f6039ce69605e40e9188437d8837a67f8056ec6'/>
<id>urn:sha1:5f6039ce69605e40e9188437d8837a67f8056ec6</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>new helper: file_inode(file)</title>
<updated>2013-02-23T04:31:31Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2013-01-23T22:07:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=496ad9aa8ef448058e36ca7a787c61f2e63f0f54'/>
<id>urn:sha1:496ad9aa8ef448058e36ca7a787c61f2e63f0f54</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: fix f_pos check in get_dir_index_using_offset</title>
<updated>2012-03-10T03:01:02Z</updated>
<author>
<name>Phillip Lougher</name>
<email>phillip@squashfs.org.uk</email>
</author>
<published>2012-03-09T02:27:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2158d3fd2769546cd9004eaeb776fee946155238'/>
<id>urn:sha1:2158d3fd2769546cd9004eaeb776fee946155238</id>
<content type='text'>
One off error in the f_pos check.  If f_pos is 3 or less don't
bother reading the index because we're at the start of the
directory, and we obviously already know where that is on disk.

This eliminates an unnecessary read.

Signed-off-by: Phillip Lougher &lt;phillip@squashfs.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: remove redundant length initialisation in squashfs_readdir</title>
<updated>2012-03-10T03:01:01Z</updated>
<author>
<name>Phillip Lougher</name>
<email>phillip@squashfs.org.uk</email>
</author>
<published>2012-03-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=68a8c397bf1bc16640e87d229025ffd4e4b54e6c'/>
<id>urn:sha1:68a8c397bf1bc16640e87d229025ffd4e4b54e6c</id>
<content type='text'>
Signed-off-by: Phillip Lougher &lt;phillip@squashfs.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: use define instead of constant</title>
<updated>2012-03-10T03:00:54Z</updated>
<author>
<name>Ajeet Yadav</name>
<email>ajeet.yadav.77@gmail.com</email>
</author>
<published>2012-02-02T07:34:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4826d83d9c4f6bbf61f997e7b68547b4bffd8a49'/>
<id>urn:sha1:4826d83d9c4f6bbf61f997e7b68547b4bffd8a49</id>
<content type='text'>
Its better to use defined name instead of constant

Signed-off-by: Ajeet Yadav &lt;ajeet.yadav.77@gmail.com&gt;
Signed-off-by: Phillip Lougher &lt;phillip@squashfs.org.uk&gt;
</content>
</entry>
<entry>
<title>Squashfs: update email address</title>
<updated>2011-05-26T09:49:11Z</updated>
<author>
<name>Phillip Lougher</name>
<email>phillip@lougher.demon.co.uk</email>
</author>
<published>2011-05-26T09:39:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d7f2ff6718efa155fd92e481a5960496d084c63f'/>
<id>urn:sha1:d7f2ff6718efa155fd92e481a5960496d084c63f</id>
<content type='text'>
My existing email address may stop working in a month or two, so update
email to one that will continue working.

Signed-off-by: Phillip Lougher &lt;phillip@lougher.demon.co.uk&gt;
</content>
</entry>
</feed>
