diff options
| author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-09-20 11:23:55 -0400 |
|---|---|---|
| committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-09-20 23:26:44 -0400 |
| commit | 2b3ff6319e2312656fbefe0209bef02d58b6836a (patch) | |
| tree | 43041b8a5e6fe31dadf2ad682d73fa873476b952 /net/lapb/lapb_timer.c | |
| parent | 2684bf7f29cfb13ef2c60f3b3a53ee47d0db7022 (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
