Applied, thanks.

On Thu, May 24, 2018 at 5:30 PM, David Decotigny <ddeco...@gmail.com> wrote:
> Ref: http://go/rfc/3315#section-22.6
>
> Signed-off-by: David Decotigny <ddeco...@gmail.com>
> ---
>  networking/udhcp/d6_dhcpc.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
> index 39b0501ad..c6276f97b 100644
> --- a/networking/udhcp/d6_dhcpc.c
> +++ b/networking/udhcp/d6_dhcpc.c
> @@ -288,6 +288,10 @@ static void option_to_env(const uint8_t *option, const 
> uint8_t *option_end)
>   * |                        valid-lifetime                         |
>   * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>   */
> +                       /* Make sure payload contains an address */
> +                       if (option[3] < 24)
> +                               break;
> +
>                         sprint_nip6(ipv6str, option + 4);
>                         *new_env() = xasprintf("ipv6=%s", ipv6str);
>
> --
> 2.17.0.441.gb46fe60e1d-goog
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to