Re: [PATCH] 6lowpan: fix assignment of peer_addr

2017-03-28 Thread Marcel Holtmann
Hi Colin, > The data from peer->chan->dst is not being copied to peer_addr, the > current code just updates the pointer and not the contents of what > it points to. Fix this with the intended assignment. > > Detected by CoverityScan, CID#1422111 ("Parse warning > (PW.PARAM_SET_BUT_NOT_USED)") >

Re: [PATCH] 6lowpan: fix assignment of peer_addr

2017-03-28 Thread Luiz Augusto von Dentz
Hi Colin, On Tue, Mar 28, 2017 at 3:11 PM, Colin King wrote: > From: Colin Ian King > > The data from peer->chan->dst is not being copied to peer_addr, the > current code just updates the pointer and not the contents of what > it points to. Fix this with the intended assignment. > > Detected by

[PATCH] 6lowpan: fix assignment of peer_addr

2017-03-28 Thread Colin King
From: Colin Ian King The data from peer->chan->dst is not being copied to peer_addr, the current code just updates the pointer and not the contents of what it points to. Fix this with the intended assignment. Detected by CoverityScan, CID#1422111 ("Parse warning (PW.PARAM_SET_BUT_NOT_USED)") F