aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xargs
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:33:50 +0000
commit21d665d7dd9e50e3975b117a4f3c0f50ed7bd642 (patch)
tree686773cb07ac8db6b58855f39c0f8a09ae152378 /usr.bin/xargs
parentc0dcdc3decb413af6188da624b22aa6b45126317 (diff)
sh: Fix job pointer invalidation with trapsasyncstable/14
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 'usr.bin/xargs')
0 files changed, 0 insertions, 0 deletions