summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2019-07-23 09:50:59 +0300
committerPaul Moore <paul@paul-moore.com>2019-07-24 18:13:34 +0300
commitacbc372e6109c803cbee4733769d02008381740f (patch)
tree4bccf1658aa986fd09d5d602a0b3073fdd44f6c5 /tools/perf/util/scripting-engines/trace-event-python.c
parentea74a685ad819aeed316a9bae3d2a5bf762da82d (diff)
downloadlinux-acbc372e6109c803cbee4733769d02008381740f.tar.xz
selinux: check sidtab limit before adding a new entry
We need to error out when trying to add an entry above SIDTAB_MAX in sidtab_reverse_lookup() to avoid overflow on the odd chance that this happens. Cc: stable@vger.kernel.org Fixes: ee1a84fdfeed ("selinux: overhaul sidtab to fix bug and improve performance") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions