Files
linux/net/ieee802154
Alexander Aring a49f03472b net: ieee802154: 6lowpan: fix frag reassembly
commit f18fa5de5b upstream.

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: 648700f76b ("inet: frags: use rhashtables for reassembly units")
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Reported-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-01 09:44:26 +01:00
..
2016-07-08 12:20:57 +02:00
2016-07-08 12:20:57 +02:00
2016-07-08 12:20:57 +02:00
2014-11-09 19:50:29 +01:00
2016-04-25 15:09:11 -04:00
2015-05-23 17:57:08 +02:00
2015-07-23 17:10:49 +02:00
2014-10-28 23:19:09 +01:00