Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: Ensure aligned accesses when processing DNS.
UB Sanitizer report: controller/pinctrl.c:2945:33: runtime error: load of misaligned address 0x000002ce5407 for type 'const ovs_be16', which requires 2 byte alignment 0x000002ce5407: note: pointer points here 6f 72 67 00 00 01 00 01 00 00 00 00 00 00 03 00 05 00 00 00 00 00 04 00 10 00 00 00 00 00 00 00 ^ #0 0x46d12d in pinctrl_handle_dns_lookup controller/pinctrl.c:2945 #1 0x46e6fa in process_packet_in controller/pinctrl.c:3186 [...] Signed-off-by: Dumitru Ceara <dceara@redhat.com> Acked-by: Numan Siddique <numans@ovn.org> Signed-off-by: Mark Michelson <mmichels@redhat.com>
- Loading branch information