diff options
author | Jaywalker <jwilliams@nsllc.com> | 2018-02-07 17:01:37 -0600 |
---|---|---|
committer | Jaywalker <jwilliams@nsllc.com> | 2018-02-07 17:01:37 -0600 |
commit | 930007ca221e1578afa235cb7e42345f39f028db (patch) | |
tree | 95c7780bbe46258e01c6a1921374deffd2c53d3d | |
parent | c6faf6faeda837fa421337a69dba7904bd3d0961 (diff) |
Lets get those sizes right
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 25deec083..f3c7b6d3b 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -243,7 +243,7 @@ static char *fixedCmd(const char *cmdStr){ uint8_t size = strlen(cmd) + 1; - char *args = cmdCpy + (size + 1); + char *args = cmdCpy + size; if ((strlen(cmdStr) - strlen(cmd)) == 0) args = NULL; |