Re: [ovs-dev] [PATCH v5 4/6] ofp-errors: Ensure parsed OFPT_ERROR messages are properly aligned.

2022-04-05 Thread Aaron Conole
Dumitru Ceara writes: > Trim the ofpbuf to ensure proper alignment. > > UB Sanitizer report: > lib/ofp-print.c:1218:24: runtime error: member access within misaligned > address 0x019229d2 for type 'const struct ofp_header', which requires 4 > byte alignment > 0x019229d2: note: point

[ovs-dev] [PATCH v5 4/6] ofp-errors: Ensure parsed OFPT_ERROR messages are properly aligned.

2022-04-05 Thread Dumitru Ceara
Trim the ofpbuf to ensure proper alignment. UB Sanitizer report: lib/ofp-print.c:1218:24: runtime error: member access within misaligned address 0x019229d2 for type 'const struct ofp_header', which requires 4 byte alignment 0x019229d2: note: pointer points here 00 00 5a 5a 05 22