diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-09-20 17:23:55 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-09-21 05:26:44 +0200 |
commit | 2b3ff6319e2312656fbefe0209bef02d58b6836a (patch) | |
tree | 43041b8a5e6fe31dadf2ad682d73fa873476b952 /lib | |
parent | trusted-keys: check hex2bin result (diff) | |
download | linux-2b3ff6319e2312656fbefe0209bef02d58b6836a.tar.xz linux-2b3ff6319e2312656fbefe0209bef02d58b6836a.zip |
encrypted-keys: check hex2bin result
For each hex2bin call in encrypted keys, check that the ascii hex string
is valid. On failure, return -EINVAL.
Changelog v1:
- hex2bin now returns an int
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions