Skip to content
Commit cda1c5af authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

cryptocop: fix assertion in create_output_descriptors()



size_t desc_len cannot be less than 0, test before the subtraction.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ba875ba6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment