Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97739e5c authored by Yang Wei's avatar Yang Wei Committed by Greg Kroah-Hartman
Browse files

nfc: fix potential illegal memory access



[ Upstream commit dd006fc434e107ef90f7de0db9907cbc1c521645 ]

The frags_q is not properly initialized, it may result in illegal memory
access when conn_info is NULL.
The "goto free_exit" should be replaced by "goto exit".

Signed-off-by: default avatarYang Wei <albin_yang@163.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f47f68cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment