aboutsummaryrefslogtreecommitdiff
path: root/net/nfc/netlink.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-08-25 16:17:19 +0300
committerJakub Kicinski <[email protected]>2022-08-26 19:47:36 -0700
commit931d0a8b201a46aedb7767087438ea9e4467b6cd (patch)
treea41511abf63f7e3dea1a30904fec2d81afdc813c /net/nfc/netlink.c
parent7dea06dbb097c7cbf6fd930960c32944829468a9 (diff)
net: fman: memac: Uninitialized variable on error path
The "fixed_link" is only allocated sometimes but it's freed unconditionally in the error handling. Set it to NULL so we don't free uninitialized data. Fixes: 9ea4742a55ca ("net: fman: Configure fixed link in memac_initialization") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Sean Anderson <[email protected]> Link: https://lore.kernel.org/r/Ywd2X6gdKmTfYBxD@kili Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/nfc/netlink.c')
0 files changed, 0 insertions, 0 deletions