https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241010

--- Comment #2 from Andrey V. Elsukov <a...@freebsd.org> ---
In general your approach looks correct, but I think you need to validate that
bits field will not lead to out of the bounds access before trusting user's
data and doing bcopy.
Also, since this field was not checked properly in the past, it is possible
that some IKE software doesn't fill it properly, and such change can break some
installations.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to