Skip to content
Commit 130f634d authored by Lee Gibson's avatar Lee Gibson Committed by Kalle Valo
Browse files

qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth



Function qtnf_event_handle_external_auth calls memcpy without
checking the length.
A user could control that length and trigger a buffer overflow.
Fix by checking the length is within the maximum allowed size.

Signed-off-by: default avatarLee Gibson <leegib@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210419145842.345787-1-leegib@gmail.com
parent a9a4c080
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