lib/mpi: checks for zero divisor length
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 26 Jan 2012 17:13:22 +0000 (19:13 +0200)
committerJames Morris <jmorris@namei.org>
Wed, 1 Feb 2012 13:23:14 +0000 (00:23 +1100)
commite2fe85c236736c866481de288f636ab06ef49787
tree11861382d9e84ec859a41132afe309f94f7cc20e
parente87c5e35a92e045de75fb6ae9846a38bdd0f92bd
lib/mpi: checks for zero divisor length

Divisor length should not be 0.

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>
lib/mpi/mpi-div.c