summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBradley Morgan <include@grrlz.net>2026-06-21 12:11:33 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-08-03 21:10:06 -0700
commitc04cffb8c51618538f0c05c478a931eb6e1a806b (patch)
treec6585e8a0e25c806ee9a75b27bc70923f64e37fe /tools/perf/scripts/python/export-to-sqlite.py
parent2fdf181afd4301e8044075afe36ccfe24980de19 (diff)
lib/string: fix memchr_inv() for large ranges
memchr_inv() takes a size_t length but counts 8 byte words in an unsigned int. At 32GiB that count wraps, so the scan can quietly miss most of the range. Use size_t for the word count. Link: https://lore.kernel.org/20260621121133.16460-1-include@grrlz.net Fixes: 798248206b59 ("lib/string.c: introduce memchr_inv()") Signed-off-by: Bradley Morgan <include@grrlz.net> Cc: Akinbou Mita <akinobu.mita@gmail.com> Cc: Andy Shevchenko <andy@kernel.org> Cc: Christoph Lameer <cl@linux-foundation.org> Cc: Joern Engel <joern@logfs.org> Cc: Kees Cook <kees@kernel.org> Cc: Pekka Enberg <penberg@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions