On 1/6/26 2:41 PM, Ales Musil via dev wrote:
> The access to dhcpv6 options struct could be unaligned as reported
> by UndefinedBehavior Sanitizer:
>
> controller/pinctrl.c:2880:16: runtime error: member access within
> misaligned address 0x7bfbe26019a1 for type
> 'struct dhcpv6_opt_server_id', which requires 2 byte alignment
> 0x7bfbe26019a1: note: pointer points here
> 5f 61 6c 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00
> ^
> encode_dhcpv6_server_id_opt controller/pinctrl.c:2880
> compose_out_dhcpv6_opts controller/pinctrl.c:2909
> pinctrl_handle_put_dhcpv6_opts controller/pinctrl.c:3198
> process_packet_in controller/pinctrl.c:3700
> pinctrl_recv controller/pinctrl.c:3863
> pinctrl_handler controller/pinctrl.c:3945
> ovsthread_wrapper lib/ovs-thread.c:426
>
> Fixes: 96088d49606b ("controller: Properly handle DHCPv6 Release message")
> Signed-off-by: Ales Musil <[email protected]>
> ---
Hi Ales,
Thanks for the fix! Applied to main and all stable branches down to 24.03.
Regards,
Dumitru
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev