aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-05-13 11:52:04 +0000
committerDavid S. Miller <[email protected]>2023-05-15 12:03:34 +0000
commit0d9b41daa5907756a31772d8af8ac5ff25cf17c1 (patch)
treecabef066f507d9470e9e9fb15a175e6082095680 /drivers/net/ethernet/intel/igc/igc_main.c
parentocteontx2-pf: mcs: Remove unneeded semicolon (diff)
downloadkernel-0d9b41daa5907756a31772d8af8ac5ff25cf17c1.tar.gz
kernel-0d9b41daa5907756a31772d8af8ac5ff25cf17c1.zip
nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
If sock->service_name is NULL, the local variable service_name_tlv_length will not be assigned by nfc_llcp_build_tlv(), later leading to using value frmo the stack. Smatch warning: net/nfc/llcp_commands.c:442 nfc_llcp_send_connect() error: uninitialized symbol 'service_name_tlv_length'. Fixes: de9e5aeb4f40 ("NFC: llcp: Fix usage of llcp_add_tlv()") Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions