aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAmmar Faizi <[email protected]>2022-04-18 01:56:29 +0700
committerSteven Rostedt (Google) <[email protected]>2022-04-26 17:58:52 -0400
commit97a5d2e5e35f119b6d7a37c7538773ae7af82dd5 (patch)
treec64b9527c68254a913e5d81bfaca7310ecd86ecf /lib/mpi/mpi-add.c
parentcb1c45fb68b8a4285ccf750842b1136f26cfe267 (diff)
tracing: Return -EINVAL if WARN_ON(!glob) triggered in event_hist_trigger_parse()
If `WARN_ON(!glob)` is ever triggered, we will still continue executing the next lines. This will trigger the more serious problem, a NULL pointer dereference bug. Just return -EINVAL if @glob is NULL. Link: https://lkml.kernel.org/r/[email protected] Cc: Ingo Molnar <[email protected]> Cc: GNU/Weeb Mailing List <[email protected]> Signed-off-by: Ammar Faizi <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions