]> sourceware.org Git - systemtap.git/commit
PR24408 @{u,k}register(regno) index/context checking
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 3 Apr 2019 23:51:38 +0000 (23:51 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 3 Apr 2019 23:51:38 +0000 (23:51 +0000)
commita03b455bc656216a4829dbad08e630949d944c75
treeb1c0a0910ac4839bb714c44a9a90f4f1509569df
parentc6920539893ec1dc365c3a1cae0605a20416d0b1
PR24408 @{u,k}register(regno) index/context checking

wcohen discovered that the (guru-mode) @*register operator doesn't
sufficiently check the context it is run in, possibly derefencing
null context->*regs pointers, or going out-of-bounds with register
numbering.  This code adds checking via a generic runtime/**/loc2c*
check_register_{fetch,store} macro.  It is used as a wrapper for
all architectures for both kernel and user register
fetch/store ops.
po/systemtap.pot
runtime/linux/loc2c-runtime.h
runtime/loc2c-runtime.h
testsuite/runok/badregs.stp [new file with mode: 0644]
translate.cxx
This page took 0.027282 seconds and 5 git commands to generate.