]> Git Repo - linux.git/commit
packet: validate address length
authorWillem de Bruijn <[email protected]>
Fri, 21 Dec 2018 17:06:59 +0000 (12:06 -0500)
committerDavid S. Miller <[email protected]>
Fri, 21 Dec 2018 17:11:25 +0000 (09:11 -0800)
commit99137b7888f4058087895d035d81c6b2d31015c5
tree1ceba39b8276cb77f2ce7ec7369bd96c6a31d21f
parentd134e486e831defd26130770181f01dfc6195f7d
packet: validate address length

Packet sockets with SOCK_DGRAM may pass an address for use in
dev_hard_header. Ensure that it is of sufficient length.

Reported-by: syzbot <[email protected]>
Signed-off-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/packet/af_packet.c
This page took 0.049442 seconds and 4 git commands to generate.