summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-07-30 02:18:25 +0300
committerKees Cook <kees@kernel.org>2025-07-30 03:19:29 +0300
commit94fd44648dae2a5b6149a41faa0b07928c3e1963 (patch)
tree90899452e898a084b82417c0ea8598cc89429f44 /lib/crypto/mpi/mpi-sub-ui.c
parentfc525d625a22c2179877955ee87e33f532b0674c (diff)
downloadlinux-94fd44648dae2a5b6149a41faa0b07928c3e1963.tar.xz
fortify: Fix incorrect reporting of read buffer size
When FORTIFY_SOURCE reports about a run-time buffer overread, the wrong buffer size was being shown in the error message. (The bounds checking was correct.) Fixes: 3d965b33e40d ("fortify: Improve buffer overflow reporting") Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20250729231817.work.023-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions