[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated
From: |
Ralph Corderoy |
Subject: |
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 1.7-branchpoint-472-g20fdce3 |
Date: |
Tue, 23 Jan 2018 04:29:24 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".
The branch, master has been updated
via 20fdce3e9137be985ffb22a2c97c51bcd45f72e0 (commit)
from c349c172bd195190c0ddb7754644f16ba8545fda (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 20fdce3e9137be985ffb22a2c97c51bcd45f72e0
Author: Ralph Corderoy <address@hidden>
Date: Tue Jan 23 09:18:34 2018 +0000
mhshow: Avoid SEGV when user's command has two or fewer words.
After argsplit() returned a NULL-terminated vector, the existing NULL
was overwritten with another and the vector index then incremented.
This made the test for whether vec[2] was available out by one resulting
in NULL being used and printed.
This plucking of the third word is a faulty assumption as argsplit()
doesn't always return ["sh", "-c", ...], but add a new test script for
it to avoid regression and so that the script can be expanded with more
related tests.
Fixes 7559e1ebf.
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 1 +
test/mhshow/test-exec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
uip/mhshowsbr.c | 1 -
3 files changed, 55 insertions(+), 1 deletion(-)
create mode 100755 test/mhshow/test-exec
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 1.7-branchpoint-472-g20fdce3,
Ralph Corderoy <=