aboutsummaryrefslogtreecommitdiff
path: root/contrib/mandoc
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2025-11-17 17:42:01 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2026-02-01 14:35:59 +0000
commite45b89582fcbf4f65593303bf41a28ed6071460f (patch)
tree9f4ac8c62ef69f674c2514e4d8bef6c867137425 /contrib/mandoc
parentb9cdb4d34bc4ea0093597f2bc4a86ce6ed5ab569 (diff)
sh: Fix job pointer invalidation with trapsasyncstable/13
Calling dotrap() can do almost anything, including reallocating the jobtab array. Convert the job pointer to an index before calling dotrap() and then restore a proper job pointer afterwards. PR: 290330 Reported by: bdrewery Reviewed by: bdrewery Differential Revision: https://reviews.freebsd.org/D53793 (cherry picked from commit f44ac8cc9c10d7305223a10b8dbd8e234388cc73)
Diffstat (limited to 'contrib/mandoc')
0 files changed, 0 insertions, 0 deletions