]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: ddf_raid: respect constness of buffer
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 27 Feb 2025 17:15:38 +0000 (18:15 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 27 Feb 2025 17:15:38 +0000 (18:15 +0100)
commitbc767e283aa1cbc0bf760c85e10f8846a1ac993f
tree9b5b5437a99f33f9f0511d1ded1afc85d375d3cc
parent467b0c15b068f5ebd1e51c99c57d8f167a8af9b5
libblkid: ddf_raid: respect constness of buffer

The buffers returned by blkid_probe_get_buffer() are not allowed to be
modified. Respect this restriction when casting the buffer to other
pointer types.

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