aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorDanila Chernetsov <listdansp@mail.ru>2023-04-04 19:05:49 +0000
committerJohn Johansen <john.johansen@canonical.com>2023-07-06 10:58:49 -0700
commit000518bc5aef25d3f703592a0296d578c98b1517 (patch)
tree2d0084a1a277c289a5f6bec0bcb6b6b726d83f1a /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent6d7467957ecdc9018fb860bb60738e997abeaecb (diff)
apparmor: fix missing error check for rhashtable_insert_fast
rhashtable_insert_fast() could return err value when memory allocation is failed. but unpack_profile() do not check values and this always returns success value. This patch just adds error check code. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: e025be0f26d5 ("apparmor: support querying extended trusted helper extra data") Signed-off-by: Danila Chernetsov <listdansp@mail.ru> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions