diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-04-16 16:03:54 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-04-16 16:03:54 +0000 |
commit | 167eeccde389ea3a9611aed611179c729d719460 (patch) | |
tree | 18f1bdac39afb7cb6ebf475633974ff7faa712a2 /src/libexecline | |
parent | eb1b2c548ba48691e48069aa82c1f102ca0e8e67 (diff) | |
download | execline-167eeccde389ea3a9611aed611179c729d719460.tar.gz execline-167eeccde389ea3a9611aed611179c729d719460.tar.xz execline-167eeccde389ea3a9611aed611179c729d719460.zip |
Fix off-by-one in backtick; prepare for 2.9.5.1
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libexecline')
-rw-r--r-- | src/libexecline/el_modifs_and_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexecline/el_modifs_and_exec.c b/src/libexecline/el_modifs_and_exec.c index fe0117c..ca72291 100644 --- a/src/libexecline/el_modifs_and_exec.c +++ b/src/libexecline/el_modifs_and_exec.c @@ -21,7 +21,7 @@ void el_modifs_and_exec (char const *const *argv, char const *const *vars, char if (values[i]) { yesn++ ; - yeslen += len ; + yeslen += len + 1 ; modiflen += 1 + strlen(values[i]) ; } } |