ieee802154/mac802154.c:332:3: Fix error: 'memcpy' reading 13 bytes from a region of size 4
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3b786a53cd
commit
ec77c2d3de
@ -329,7 +329,7 @@ void mac802154_createdatareq(FAR struct ieee802154_privmac_s *priv,
|
||||
* progession.
|
||||
*/
|
||||
|
||||
memcpy(&txdesc->destaddr, &coordaddr, sizeof(struct ieee802154_addr_s));
|
||||
memcpy(&txdesc->destaddr, coordaddr, sizeof(struct ieee802154_addr_s));
|
||||
|
||||
/* Save a reference of the tx descriptor */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user