lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <39e6f6c70704080607u729e72bbq4ac5fddfe144ef18@mail.gmail.com>
Date:	Sun, 8 Apr 2007 10:07:29 -0300
From:	"Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To:	"Patrick McHardy" <kaber@...sh.net>
Cc:	"David S. Miller" <davem@...emloft.net>,
	"Kernel Netdev Mailing List" <netdev@...r.kernel.org>
Subject: Re: [XFRM]: esp: fix skb_tail_pointer conversion bug

On 4/8/07, Patrick McHardy <kaber@...sh.net> wrote:
>
> [XFRM]: esp: fix skb_tail_pointer conversion bug
>
> Fix incorrect switch of "trailer" skb by "skb" during skb_tail_pointer
> conversion:
>
> -       *(u8*)(trailer->tail - 1) = top_iph->protocol;
> +       *(skb_tail_pointer(skb) - 1) = top_iph->protocol;
>
> -       *(u8 *)(trailer->tail - 1) = *skb_network_header(skb);
> +       *(skb_tail_pointer(skb) - 1) = *skb_network_header(skb);
>
>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>

Signed-off-by: Arnaldo Carvalho de Melo <acme@...stprotocols.net>

Thanks Patrick, for this one and the other fixes for the offset conversion.

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ