summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-12-11 20:10:05 +0400
committerDavid S. Miller <davem@davemloft.net>2013-12-12 01:10:14 +0400
commit610438b74496b2986a9025f8e23c134cb638e338 (patch)
treea04eec671093bb727ba8aacb8da6a289e6b77f45 /Documentation
parentce232ce01d61b184202bb185103d119820e1260c (diff)
downloadlinux-610438b74496b2986a9025f8e23c134cb638e338.tar.xz
udp: ipv4: fix potential use after free in udp_v4_early_demux()
pskb_may_pull() can reallocate skb->head, we need to move the initialization of iph and uh pointers after its call. Fixes: 421b3885bf6d ("udp: ipv4: Add udp early demux") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Shawn Bohrer <sbohrer@rgmadvisors.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions