aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2018-04-20 18:54:13 +0000
committerStefan Schmidt <[email protected]>2018-04-23 18:56:24 +0000
commitf18fa5de5ba7f1d6650951502bb96a6e4715a948 (patch)
tree81aac5b693d835de166b7dfa6b46d13b372313d9 /net/tipc/node.c
parentnet: ieee802154: mcr20a: do not leak resources on error path (diff)
downloadkernel-f18fa5de5ba7f1d6650951502bb96a6e4715a948.tar.gz
kernel-f18fa5de5ba7f1d6650951502bb96a6e4715a948.zip
net: ieee802154: 6lowpan: fix frag reassembly
This patch initialize stack variables which are used in frag_lowpan_compare_key to zero. In my case there are padding bytes in the structures ieee802154_addr as well in frag_lowpan_compare_key. Otherwise the key variable contains random bytes. The result is that a compare of two keys by memcmp works incorrect. Fixes: 648700f76b03 ("inet: frags: use rhashtables for reassembly units") Signed-off-by: Alexander Aring <[email protected]> Reported-by: Stefan Schmidt <[email protected]> Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions