diff options
| author | Eric Biggers <[email protected]> | 2018-04-30 22:51:43 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2018-05-20 20:21:03 +0000 |
| commit | 0c4cdb27caa40167a7369a986afcde3d1d913b06 (patch) | |
| tree | 8f7747e41b02a9046b6461b57f8165b0714131d3 /drivers/fpga/xilinx-pr-decoupler.c | |
| parent | fscrypt: drop max_namelen check from fname_decrypt() (diff) | |
| download | kernel-0c4cdb27caa40167a7369a986afcde3d1d913b06.tar.gz kernel-0c4cdb27caa40167a7369a986afcde3d1d913b06.zip | |
fscrypt: drop empty name check from fname_decrypt()
fname_decrypt() is validating that the encrypted filename is nonempty.
However, earlier a stronger precondition was already enforced: the
encrypted filename must be at least 16 (FS_CRYPTO_BLOCK_SIZE) bytes.
Drop the redundant check for an empty filename.
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-pr-decoupler.c')
0 files changed, 0 insertions, 0 deletions
