diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-12-08 19:18:16 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-12-08 19:18:16 +0200 |
commit | bc665b84ea6bf7946394a08122177efe41b26a5f (patch) | |
tree | a9c5f64e1692ade3b842fa82c9e4a01abc37cb11 /tests/test_vli.c | |
parent | Translations: Update the German man page translations. (diff) | |
download | xz-bc665b84ea6bf7946394a08122177efe41b26a5f.tar.xz |
xz: Don't modify argv[].
The code that parses --memlimit options and --block-list modified
the argv[] when parsing the option string from optarg. This was
visible in "ps auxf" and such and could be confusing. I didn't
understand it back in the day when I wrote that code. Now a copy
is allocated when modifiable strings are needed.
Diffstat (limited to 'tests/test_vli.c')
0 files changed, 0 insertions, 0 deletions