aboutsummaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2020-04-01 13:23:29 -0500
committerBorislav Petkov <bp@suse.de>2020-04-14 12:24:22 +0200
commitb296695298d8632d8b703ac25fe70be34a07c0d9 (patch)
tree8ce418b7ccf51ec2dde50bfbb4d18560299ae255 /arch/s390
parentb401efc120a399dfda1f4d2858a4de365c9b08ef (diff)
objtool: Make BP scratch register warning more robust
If func is NULL, a seg fault can result. This is a theoretical issue which was found by Coverity, ID: 1492002 ("Dereference after null check"). Fixes: c705cecc8431 ("objtool: Track original function across branches") Reported-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/afc628693a37acd287e843bcc5c0430263d93c74.1585761021.git.jpoimboe@redhat.com
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions