aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.azure
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2015-06-18 18:28:38 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2015-06-18 18:28:38 +0000
commitefb5228ce87158dda1e50d20c9179ac7fb6d9f48 (patch)
tree891931e0bf5c16f0b848e3f5bdc35530407c28e9 /release/Makefile.azure
parent960dff03c3a42a58ff02548f6fc8c54d6964ee38 (diff)
downloadsrc-efb5228ce87158dda1e50d20c9179ac7fb6d9f48.tar.gz
src-efb5228ce87158dda1e50d20c9179ac7fb6d9f48.zip
Fix possible use after free in encap[46]_input().
There is small window, when encap_detach() can free matched entry directly after we release encapmtx. Instead of use pointer to the matched entry, save pointers to needed variables from this entry and use them after release mutex. Pass argument stored in the encaptab entry to encap_fillarg(), instead of pointer to matched entry. Also do not allocate new mbuf tag, when argument that we plan to save in this tag is NULL. Also make encaptab variable static. Obtained from: Yandex LLC Sponsored by: Yandex LLC
Notes
Notes: svn path=/head/; revision=284566
Diffstat (limited to 'release/Makefile.azure')
0 files changed, 0 insertions, 0 deletions