aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-12-20 16:00:27 +0000
committerDavid S. Miller <[email protected]>2012-12-21 13:14:01 -0800
commitf7e75ba1772bc712af0070655ffd8b09906993b5 (patch)
treeef32b318efe584f845f05eb7f65daca803abb6a1 /net/unix/af_unix.c
parent412ed94744d16806fbec3bd250fd94e71cde5a1f (diff)
ip_gre: fix possible use after free
Once skb_realloc_headroom() is called, tiph might point to freed memory. Cache tiph->ttl value before the reallocation, to avoid unexpected behavior. Signed-off-by: Eric Dumazet <[email protected]> Cc: Isaku Yamahata <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions