On Thu, Dec 01, 2016 at 11:14:54PM +0100, Richard Weinberger wrote:
> From: David Gstir
>
> In case of in-place encryption ctx must be released right away.
> Otherwise ctx is never freed.
>
I didn't notice this before, but the fscrypt_ctx isn't actually used at all in
the
On Thu, Dec 01, 2016 at 11:14:54PM +0100, Richard Weinberger wrote:
> From: David Gstir
>
> In case of in-place encryption ctx must be released right away.
> Otherwise ctx is never freed.
>
I didn't notice this before, but the fscrypt_ctx isn't actually used at all in
the "own pages" crypto
From: David Gstir
In case of in-place encryption ctx must be released right away.
Otherwise ctx is never freed.
Fixes: 1c7dcf69eea3 ("fscrypt: Add in-place encryption mode")
Signed-off-by: David Gstir
Signed-off-by: Richard Weinberger
From: David Gstir
In case of in-place encryption ctx must be released right away.
Otherwise ctx is never freed.
Fixes: 1c7dcf69eea3 ("fscrypt: Add in-place encryption mode")
Signed-off-by: David Gstir
Signed-off-by: Richard Weinberger
---
fs/crypto/crypto.c | 2 ++
1 file changed, 2
4 matches
Mail list logo