aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-12-08 19:18:16 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-12-12 15:53:01 +0200
commit4af80d4f5131bcdc827020ddc64172531f365bd7 (patch)
tree132a041ceb7f781295db744aeead597a6a152d64 /src/xz/args.h
parentliblzma: Check for unexpected NULL pointers in block_header_decode(). (diff)
downloadxz-4af80d4f5131bcdc827020ddc64172531f365bd7.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 'src/xz/args.h')
0 files changed, 0 insertions, 0 deletions