]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: unknown/unsupported diskseq is indicated by 0, not by UINT64_MAX
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Feb 2023 15:03:46 +0000 (16:03 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Feb 2023 17:03:21 +0000 (18:03 +0100)
commitc12a0d6dcfdc55469d1bab902c72300d67f6f216
tree6e5db3567c442ae0a67ec6e9491a380807741f37
parent32d6707dd1692d41e12f5469dfdcbc10f14d6619
dissect-image: unknown/unsupported diskseq is indicated by 0, not by UINT64_MAX

At almost all places if diskseq is not supported we encode this as
diskseq zero. But in two places we got the check for that wrong,
assuming it was UINT64_MAX.

Fix that.
src/shared/dissect-image.c