aboutsummaryrefslogtreecommitdiff
path: root/tools/debugscripts
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-07-06 13:21:43 +0000
committerMark Johnston <markj@FreeBSD.org>2026-07-06 13:21:43 +0000
commit7f5fa76367d78e47d483fdf2cc72e5823d0f7807 (patch)
treec2606edce26629425697b937bc54c8150cb75eb8 /tools/debugscripts
parentb56b601c5ba603031312b9bc7ae895ecb0dcdaec (diff)
dtrace: Fix DOF section-specific validation
The entry size of the probe section is assumed to be at least sizeof(dof_probe_t) by the loop further below. enoff_sec->dofs_entsize was not being validated at all. When multiplying an index by a table entry size, make sure the multiplication can't overflow. Fix an off-by-one when validating the translated probe argument array. Make sure that the probe argument argvs are valid string offsets even if the argument count is zero. Reviewed by: christos MFC after: 2 weeks Sponsored by: CHERI Research Centre Differential Revision: https://reviews.freebsd.org/D57979
Diffstat (limited to 'tools/debugscripts')
0 files changed, 0 insertions, 0 deletions