aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <[email protected]>2012-01-26 17:13:19 +0000
committerJames Morris <[email protected]>2012-02-01 13:23:39 +0000
commit4877e056192245b387aae004ab38f7f3899dd57c (patch)
treeaf540cd2de9df321421651016fed50e4a56b224c /lib/mpi/mpi-bit.c
parentlib/digsig: pkcs_1_v1_5_decode_emsa cleanup (diff)
downloadkernel-4877e056192245b387aae004ab38f7f3899dd57c.tar.gz
kernel-4877e056192245b387aae004ab38f7f3899dd57c.zip
lib/mpi: check for possible zero length
Buggy client might pass zero nlimbs which is meaningless. Added check for zero length. Signed-off-by: Dmitry Kasatkin <[email protected]> Reviewed-by: Tetsuo Handa <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions