Skip to content
Commit 4fbcc1a4 authored by Jordy Zomer's avatar Jordy Zomer Committed by David S. Miller
Browse files

nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION



It appears that there are some buffer overflows in EVT_TRANSACTION.
This happens because the length parameters that are passed to memcpy
come directly from skb->data and are not guarded in any way.

Signed-off-by: default avatarJordy Zomer <jordy@pwning.systems>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a4d75bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment