Dumitru Ceara <dce...@redhat.com> writes: > Trim the ofpbuf to ensure proper alignment. > > UB Sanitizer report: > lib/ofp-print.c:1218:24: runtime error: member access within misaligned > address 0x0000019229d2 for type 'const struct ofp_header', which requires 4 > byte alignment > 0x0000019229d2: note: pointer points here > 00 00 5a 5a 05 22 00 3e 00 00 00 09 00 00 00 00 00 00 00 03 05 0d 00 2e > 00 00 00 09 ff ff ff ff > ^ > #0 0x7d45cc in ofp_to_string lib/ofp-print.c:1218 > #1 0x774fa8 in ofperr_msg_format lib/ofp-errors.c:253 > #2 0x7d2617 in ofp_print_error_msg lib/ofp-print.c:435 > #3 0x7d3eb7 in ofp_to_string__ lib/ofp-print.c:998 > #4 0x7d47fb in ofp_to_string lib/ofp-print.c:1244 > #5 0x8dcc4b in do_send lib/vconn.c:688 > #6 0x8dca64 in vconn_send lib/vconn.c:671 > > Signed-off-by: Dumitru Ceara <dce...@redhat.com> > ---
Acked-by: Aaron Conole <acon...@redhat.com> _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev