]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: avoid aligning out of probing area
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 12 Jan 2024 07:47:50 +0000 (08:47 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 12 Jan 2024 07:57:19 +0000 (08:57 +0100)
commit025b11465d086c55948eff484f40c993f2184990
tree16dc6764d6848f4b11e6b1d3f2cd8e81f4166486
parent489b175c11cee48a4a2ee094075d0ff2a4da0024
libblkid: avoid aligning out of probing area

When reading from the end of the device the IO size alignment could
enlarge the read buffer outside of the probing area.
This would then trigger a read failure.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/probe.c