summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2021-11-24 12:16:28 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-08 18:16:23 +0100
commit5a539c08d743d9910631448da78af5e961664c0e (patch)
treec05c99d1edfb4439d7f2edabf6e1d7a1e9a9a9a2 /arch/s390
parentb86ee2b7ae42b6b37a918b66236608e2cc325f59 (diff)
Bluetooth: refactor malicious adv data check
commit 899663be5e75dc0174dc8bda0b5e6826edf0b29a upstream. Check for out-of-bound read was being performed at the end of while num_reports loop, and would fill journal with false positives. Added check to beginning of loop processing so that it doesn't get checked after ptr has been advanced. Signed-off-by: Brian Gix <brian.gix@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: syphyr <syphyr@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions