summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-01-26 18:13:19 +0100
committerJames Morris <jmorris@namei.org>2012-02-01 14:23:39 +0100
commit4877e056192245b387aae004ab38f7f3899dd57c (patch)
treeaf540cd2de9df321421651016fed50e4a56b224c /include
parentlib/digsig: pkcs_1_v1_5_decode_emsa cleanup (diff)
downloadlinux-4877e056192245b387aae004ab38f7f3899dd57c.tar.xz
linux-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 <dmitry.kasatkin@intel.com> Reviewed-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions