aboutsummaryrefslogtreecommitdiff
path: root/lib/stackdepot.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2023-11-20 18:47:17 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 16:51:47 -0800
commit7d88e4f768b0fdb85b68f0e4679bb10fdb05c808 (patch)
tree743bc32fa44592a80b330786afec4f764b8dd434 /lib/stackdepot.c
parentf3b5979862994089005d48ad2ce5b6a9735981fe (diff)
downloadlinux-7d88e4f768b0fdb85b68f0e4679bb10fdb05c808.tar.gz
linux-7d88e4f768b0fdb85b68f0e4679bb10fdb05c808.tar.bz2
linux-7d88e4f768b0fdb85b68f0e4679bb10fdb05c808.zip
kasan: check object_size in kasan_complete_mode_report_info
Check the object size when looking up entries in the stack ring. If the size of the object for which a report is being printed does not match the size of the object for which a stack trace has been saved in the stack ring, the saved stack trace is irrelevant. Link: https://lkml.kernel.org/r/68c6948175aadd7e7e7deea61725103d64a4528f.1700502145.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Reviewed-by: Alexander Potapenko <glider@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: Marco Elver <elver@google.com> Cc: Oscar Salvador <osalvador@suse.de> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/stackdepot.c')
0 files changed, 0 insertions, 0 deletions