All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: ".. ink .." <mhogomchungu@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] crypt_load() crash when 3 argument is NULL
Date: Sat, 08 Dec 2012 01:35:27 +0100	[thread overview]
Message-ID: <50C28B4F.3010801@gmail.com> (raw)
In-Reply-To: <CAFnMBaTvK78M1WGrMEwD+Ap_7n+sdrZt1i7U1Nj9kxM7BP0-VQ@mail.gmail.com>

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.)

Milan

      reply	other threads:[~2012-12-08  0:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-08  0:06 [dm-crypt] crypt_load() crash when 3 argument is NULL .. ink ..
2012-12-08  0:35 ` Milan Broz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C28B4F.3010801@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=mhogomchungu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.