Commit 103662d0 authored by Tanwee Kausar's avatar Tanwee Kausar Committed by Shrirang Bagul
Browse files

crypto: Fix possible stack out of bound error

BugLink: https://bugs.launchpad.net/bugs/1931727



Adding fix to check the upper limit on the length
of the destination array while copying elements from
source address to avoid stack out of bound error.

Change-Id: Ieb24e8f9b4a2b53fbc9442b25d790b12f737d471
Signed-off-by: default avatarTanwee Kausar <tkausar@codeaurora.org>
(cherry picked from commit 947ac368a5a802ffeab438ef9a06eaf5e7391756)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 5fff6e53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment