diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-01-26 19:13:19 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2012-02-02 00:23:39 +1100 |
commit | 4877e056192245b387aae004ab38f7f3899dd57c (patch) | |
tree | af540cd2de9df321421651016fed50e4a56b224c /lib/mpi/mpi-pow.c | |
parent | b35e286a640f31d619a637332972498b51f3fd90 (diff) | |
download | op-kernel-dev-4877e056192245b387aae004ab38f7f3899dd57c.zip op-kernel-dev-4877e056192245b387aae004ab38f7f3899dd57c.tar.gz |
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 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions