Module Name: src Committed By: maxv Date: Fri Dec 13 14:13:55 UTC 2019
Modified Files:
src/sys/net: if_tun.c
Log Message:
Read the len before pushing the packet, otherwise possible use-after-free.
Found by a custom query on LGTM.
To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/net/if_tun.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
