]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: ensure fiemap extents flags are compared correctly
authorPádraig Brady <P@draigBrady.com>
Sat, 23 Aug 2014 00:18:58 +0000 (01:18 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 23 Aug 2014 00:23:20 +0000 (01:23 +0100)
commit8338c4dc4ac088025cf0403e46d311390aad042d
tree402425dba9720bdbff7fa949121769c9e323b090
parent1505b379af16deab5b301b2f07f1d659ce2137cb
maint: ensure fiemap extents flags are compared correctly

* src/extent-scan.c (extent_scan_read): Following on from the flags size
adjustment in commit v8.23-13-g1505b37, verify that the internal
representation of the flags is never truncated which could happen in the
unlikely case on 32 bit if the kernel flags ever expanded to 64 bits
which is theoretically possible given the reserved space.
src/extent-scan.c