]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
raw_ip: validate inp in both loops
authormmacy <mmacy@FreeBSD.org>
Thu, 21 Jun 2018 20:18:23 +0000 (20:18 +0000)
committermmacy <mmacy@FreeBSD.org>
Thu, 21 Jun 2018 20:18:23 +0000 (20:18 +0000)
commit232eed4f266a6416978c326eccee95e4ad95f7e5
tree3d9f99d566da8ccad28adf6a52eeb1b871d9d5b3
parent41c8895b784487114be6f47f4fdce189bfc988e3
raw_ip: validate inp in both loops

Continuation of r335497. Also move the lock acquisition up to
validate before referencing inp_cred.

Reported by: pho
sys/netinet/raw_ip.c