gustavonihei commented on code in PR #7789: URL: https://github.com/apache/nuttx/pull/7789#discussion_r1039908368
########## net/icmpv6/icmpv6_input.c: ########## @@ -336,10 +336,12 @@ void icmpv6_input(FAR struct net_driver_s *dev, unsigned int iplen) if ((prefixopt->flags & ICMPv6_PRFX_FLAG_A) != 0) { + FAR void *addr = prefixopt->prefix; Review Comment: You could copy `prefix` out of the packed structure. The target array would then be properly aligned. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org