mesh: Fix segmented msg RX with friendship
authorBrian Gix <brian.gix@intel.com>
Wed, 24 Mar 2021 19:34:12 +0000 (12:34 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commit77b909e09f1db9949cb1e21296bf1c3c454ddbce
tree73c4485f8ec2077c2b84428017b40ef70f05919d
parent662be18f68535ffa57ab90368d9bbf273bd7824b
mesh: Fix segmented msg RX with friendship

This fixes an uninitialized memory issue where a message received for
a local node is silently discarded if an uninitialized boolean is
mistakenly set to TRUE, when friendships exist.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/net.c