[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-keyrings
Subject:    Re: [PATCH v10 06/12] nfit/libnvdimm: add set passphrase support for Intel nvdimms
From:       David Howells <dhowells () redhat ! com>
Date:       2018-09-28 9:28:10
Message-ID: 28715.1538126890 () warthog ! procyon ! org ! uk
[Download RAW message or body]

David Howells <dhowells@redhat.com> wrote:

> 	if (sscanf(buf, "%" __stringify(SEC_CMD_SIZE) "s %u %u", ...) == 3)

Actually, that would need to be "SEC_CMD_SIZE - 1" - which might get
stringified as-is.

David
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic