util-linux/libblkid
Sami Kerola 57f1539592 libblkid: ensure uninitialized variable is not used [clang]
Following condition can be true if minix file system is corrupt, and versio
number is found to be greater than 3.  It is fair to say described scenario
is unlikely.

libblkid/src/superblocks/minix.c:107:13: warning: variable 'zone_size' is
used uninitialized whenever
      'if' condition is false [-Wsometimes-uninitialized]
        } else if (version == 3) {
                   ^~~~~~~~~~~~
libblkid/src/superblocks/minix.c:121:6: note: uninitialized use occurs here
        if (zone_size != 0 || ninodes == 0 || ninodes == UINT32_MAX)
            ^~~~~~~~~

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-03-13 14:48:12 +01:00
..
docs libblkid: add blkid_probe_set_sectorsize() 2017-01-13 13:26:37 +01:00
samples misc: Fix various typos 2016-05-31 23:40:21 +02:00
src libblkid: ensure uninitialized variable is not used [clang] 2017-03-13 14:48:12 +01:00
blkid.pc.in build-sys: use top-level directory for libblkid rather than shlibs/blkid 2011-06-09 22:04:24 +02:00
COPYING COPYING: fix grammar of referring phrase, and indicate location better 2013-10-08 15:38:39 +02:00
libblkid.3 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
Makemodule.am build-sys: expand paths at make time 2012-08-15 02:06:53 +02:00