diff options
author | Ron Yorston <rmy@pobox.com> | 2023-12-25 09:01:19 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-12-25 09:01:19 +0000 |
commit | 9d619a83a479f6760cdfcadcc0fd0ef1bd110e39 (patch) | |
tree | e403d8fc1370cb1494b927ab32d1bda7fa6c2b4f /arch | |
parent | 628e1ab2b3af4e9a0d4f8331e20c970db5eba150 (diff) | |
download | busybox-w32-9d619a83a479f6760cdfcadcc0fd0ef1bd110e39.tar.gz busybox-w32-9d619a83a479f6760cdfcadcc0fd0ef1bd110e39.tar.bz2 busybox-w32-9d619a83a479f6760cdfcadcc0fd0ef1bd110e39.zip |
ash: avoid crash when job table is empty
Commit 7b692ddf0 (ash: improved support for jobs built-in) didn't
correctly initialise the pointer to the job table if it was empty.
This resulted in the following crashing:
sh -c "cat <(echo HelloWorld | rev)"
Fix forkshell_copy() so the job table pointer is NULL if there are
no jobs.
Adds 16 bytes.
(GitHub issue #379)
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions