[dm-crypt] crypt_load() crash when 3 argument is NULL

Milan Broz gmazyland at gmail.com
Sat Dec 8 01:35:27 CET 2012

On 12/08/2012 01:06 AM, .. ink .. wrote:
> This is something i noticed last night but forgot to mention in my previous email.
> Just updated from git to test and the behavior is still there.
> calling crypt_load() with the third argument as NULL segfaults.

params is required for TCRYPT type (you need to provide password/keyfiles here).

Should be fixed in git to return EINVAL instead, thanks.
(I'll revisit docs later, still a lot of other changes ahead.)


More information about the dm-crypt mailing list