aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2019-02-21 16:43:59 +0000
committerDavid S. Miller <[email protected]>2019-02-23 00:05:11 +0000
commit424a7cd078401591fc45587ffb2c012d7f402fb7 (patch)
tree346f6616db687c22ad228fb260b4e6e47053e9e3 /tools/perf/scripts/python/intel-pt-events.py
parentfou6: fix proto error handler argument type (diff)
downloadkernel-424a7cd078401591fc45587ffb2c012d7f402fb7.tar.gz
kernel-424a7cd078401591fc45587ffb2c012d7f402fb7.zip
udpv6: fix possible user after free in error handler
Before derefencing the encap pointer, commit e7cc082455cb ("udp: Support for error handlers of tunnels with arbitrary destination port") checks for a NULL value, but the two fetch operation can race with removal. Fix the above using a single access. Also fix a couple of type annotations, to make sparse happy. Fixes: e7cc082455cb ("udp: Support for error handlers of tunnels with arbitrary destination port") Signed-off-by: Paolo Abeni <[email protected]> Acked-by: Stefano Brivio <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions