diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-03-06 14:47:02 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-03-08 10:56:47 +0000 |
| commit | 4097c8d7a8596ddbc9a9db7b7f39c5cbdb1bd742 (patch) | |
| tree | 453b39ea237785218a551d24d6c474db317aa951 /executor/common_linux.h | |
| parent | 6387f6b7d487e2a77d753ad28c1074e39c17c3ca (diff) | |
sys/linux: clone args before mutation
Not cloning the argument results in replaceArg() replacing a union
argument with itself, which may lead to inconsistent resource
references.
Add an assertion to detect such cases in the future.
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
