mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-19 14:50:09 +01:00
The function wrongly expected segment objects being ordered (ascending order) in segments container. The LUKS2 format never guaranteed that and it could lead to wrong LUKS2 device size calculation in case last segment (by key) was stored before any other segment with fixed size.
70 KiB
70 KiB