<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fstools/libblkid-tiny/libblkid-tiny.h, branch master</title>
<subtitle>OpenWrt filesystem utilities</subtitle>
<id>https://git-03.infra.openwrt.org/project/fstools/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/fstools/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/'/>
<updated>2020-01-18T13:43:09Z</updated>
<entry>
<title>libblkid-tiny: fix f2fs labels by increasing label buffer</title>
<updated>2020-01-18T13:43:09Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-01-14T18:49:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=189b41b6b48786a51eb2b8bc450cb7d560f030f0'/>
<id>urn:sha1:189b41b6b48786a51eb2b8bc450cb7d560f030f0</id>
<content type='text'>
f2fs max label length is 1024B (512 * uint16_t) which is way above
current 256B used in `struct blkid_struct_probe` which renders labels on
f2fs system unusable:

 $ mkfs.f2fs -l drive /dev/sda1
 $ block info /dev/sda1
 label buffer too small 1024 &gt; 255

So increase the label buffer again in order to make enough space for
f2fs labels.

Fixes: FS#2735
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>libblkid-tiny: fix symbol collision with full libblkid</title>
<updated>2019-12-22T18:54:42Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-12-22T18:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=b4e25d54035c5092e8e9b46ab63500e95ac8c730'/>
<id>urn:sha1:b4e25d54035c5092e8e9b46ab63500e95ac8c730</id>
<content type='text'>
The recent introduction of blkid_new_probe() and blkid_free_probe() in the
dynamically linked libblkid-tiny caused the dlopen'd libblkid.so to call into
the wrong version of blkid_new_probe() within blkid_new_probe_from_filename(),
leading to memory corruption and eventual segmentation faults.

Fixes: b82c5c1 ("libblkid-tiny: add functions for allocating &amp; freeing probe struct")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>libblkid-tiny: use separated buffer for each block device read</title>
<updated>2019-12-20T06:43:15Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2019-12-14T21:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=0c5761f076e1db5f10d6207fe9b5ec381b1b8ff2'/>
<id>urn:sha1:0c5761f076e1db5f10d6207fe9b5ec381b1b8ff2</id>
<content type='text'>
This allows reading multiple chunks of block device data and operating
on them simultaneously. Previous implementation was using a single
buffer (except for reading more data than allocated size) and subsequent
reads were corrupting memory of previously returned buffers.

This fixes e.g. problem with reading NTFS UUID and validating VFAT
signature.

Implementation is based on original libblkid code which handles it
similarly. Buffers are put on probe internal list and freed when
releasing a probe struct.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>libblkid-tiny: add functions for allocating &amp; freeing probe struct</title>
<updated>2019-12-20T06:43:15Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2019-12-14T21:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=b82c5c109c8545da1c4fea46e102aef25896c0e4'/>
<id>urn:sha1:b82c5c109c8545da1c4fea46e102aef25896c0e4</id>
<content type='text'>
This adds blkid_new_probe() and blkid_free_probe() which have to be used
in place of simple struct memory allocation. They will allow extending
probe struct by any extra initialization code and resources release.

Newly introduced probe.c file is based on original libblkid's code.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>libblkid-tiny: increment label size to 256</title>
<updated>2019-07-01T13:53:23Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2019-06-16T17:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=1539b535ac327a3bc599d1ca871e14fd0dc3bba1'/>
<id>urn:sha1:1539b535ac327a3bc599d1ca871e14fd0dc3bba1</id>
<content type='text'>
Btrfs max label lenght is 255. Increment the blkid_struct_probe struct to respect this new max value.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>libblkid-tiny: remove unused name member</title>
<updated>2016-10-17T11:13:47Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-10-17T11:12:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=cb3a8631e6e444b44851582d098bbaed76f2c742'/>
<id>urn:sha1:cb3a8631e6e444b44851582d098bbaed76f2c742</id>
<content type='text'>
The "name" member of struct blkid_struct_probe is not used anywhere anymore
so remove it from the definition to save some stack and heap space.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>libblkid-tiny: Update the code from util-linux's libblkid</title>
<updated>2015-10-29T18:51:24Z</updated>
<author>
<name>Martin Blumenstingl</name>
</author>
<published>2015-10-31T15:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=f35878c9419583de0f770646ac4f2d2e2b601a2a'/>
<id>urn:sha1:f35878c9419583de0f770646ac4f2d2e2b601a2a</id>
<content type='text'>
This updates the relevant source files to util-linux changeset
4419ffb9eff5801fdbd385a4a6199b3877f802ad.

Signed-off-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
</content>
</entry>
<entry>
<title>initial import of fs-tools package</title>
<updated>2014-03-12T02:29:00Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2014-02-18T00:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/fstools/commit/?id=d292ffc85f48dd9c8774a0860f50397dd2966e7a'/>
<id>urn:sha1:d292ffc85f48dd9c8774a0860f50397dd2966e7a</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
</entry>
</feed>
