commit | b7fb3a58e7ec12987706fd52f5361a944ddc1da8 | [log] [tgz] |
---|---|---|
author | Michael Forney <mforney@mforney.org> | Tue Dec 27 13:48:31 2016 +0100 |
committer | Laslo Hunhold <dev@frign.de> | Tue Dec 27 13:48:59 2016 +0100 |
tree | 6b4e7faabf5a61108d30a72254764ef0f5562db5 | |
parent | 87f40834a329f4f526fd17b1be36c75da0323573 [diff] |
xinstall: Fix broken memmove with -t memmove moves a number of bytes, not pointers, so if you passed a number of arguments that is larger than the pointer byte size, you could end up crashing or skipping the install of a file and installing another twice. Also, argv was never decreased to match the moved arguments, so the -t parameter was added in the NULL argv slot.