commit | cda1c5af26a00ee31cdc5ab8321a1be7851cbfff | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Fri Mar 05 13:42:32 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Mar 06 11:26:28 2010 -0800 |
tree | 780496d48b6d779dc7cae7e76866e6caa2992bf8 | |
parent | ba875ba6b7cd28c5f15680ed694276510aa69970 [diff] |
cryptocop: fix assertion in create_output_descriptors() size_t desc_len cannot be less than 0, test before the subtraction. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Mikael Starvik <starvik@axis.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>