Re: [PATCH 04/11] crypto: validate that LUKS payload doesn't overlap with header

2022-09-06 Thread Richard W.M. Jones
On Tue, Sep 06, 2022 at 09:41:40AM +0100, Daniel P. Berrangé wrote: > We already validate that LUKS keyslots don't overlap with the > header, or with each other. This closes the remain hole in remain -> remaining > validation of LUKS file regions. > > Signed-off-by: Daniel P. Berrangé > --- >

[PATCH 04/11] crypto: validate that LUKS payload doesn't overlap with header

2022-09-06 Thread Daniel P . Berrangé
We already validate that LUKS keyslots don't overlap with the header, or with each other. This closes the remain hole in validation of LUKS file regions. Signed-off-by: Daniel P. Berrangé --- crypto/block-luks.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/crypto/block-luks.c b/cry