diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-08-27 13:06:20 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-08-27 13:33:10 +0000 |
| commit | d6f5c6531e4848086478961d03f4d13170eff02a (patch) | |
| tree | 9fbefcc4381979b0dba76590c184bd189e3bf417 /source/Target/ThreadPlanPython.cpp | |
| parent | 00a793def743b5be8fcbdd39fc1dfa61534ed66c (diff) | |
netmap: Use ckdint.h helpers to check for overflow
This addresses a bug in the addition overflow check added in commit
319414a926af ("netmap: Handle overflow when computing ring sizes"): that
overflow wasn't actually caught by the check because "len" is promoted
to size_t.
PR: 297300
Fixes: 319414a926af ("netmap: Handle overflow when computing ring sizes")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58896
Diffstat (limited to 'source/Target/ThreadPlanPython.cpp')
0 files changed, 0 insertions, 0 deletions
