commit | f58a08152ce4198a2a1da162b97ecf8264c24866 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | Thu Jan 26 19:13:25 2012 +0200 |
committer | James Morris <jmorris@namei.org> | Thu Feb 02 00:23:38 2012 +1100 |
tree | e430ef22210d8d6d41c0b7253978558a0f15f7a5 | |
parent | bc95eeadf5c6fd9e9840898a83a93718a0114b6d [diff] |
lib/digsig: additional sanity checks against badly formated key payload Added sanity checks for possible wrongly formatted key payload data: - minimum key payload size - zero modulus length - corrected upper key payload boundary. 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>