summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorMartin George <martinus.gpy@gmail.com>2026-10-22 17:33:23 +0530
committerKeith Busch <kbusch@kernel.org>2026-10-28 08:11:21 -0700
commit9c15ab904e07a752a4c45f46a74c642900411b90 (patch)
tree1a35565814cea364283d998d96404b9ccf2492a3 /tools/lib/python/kdoc/python_version.py
parent2f61b9d1d54edf75a352c43eebe3804144b5d44e (diff)
nvme-multipath: avoid size_t underflow in ANA log bounds checks
The ANA log bounds checks subtract the required size from ana_log_size in unsigned arithmetic, which can wrap when a rogue or buggy target reports an oversized nnsids. Compare as "ana_log_size - offset < required" instead, so the subtraction can't underflow and bypass the check. Signed-off-by: Martin George <marting@netapp.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions