This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
commit 9eae80474fd86193af03148e58010186f9e39fc7 Author: David Teigland teigland@redhat.com AuthorDate: Thu Aug 15 10:47:12 2024 -0500
sanlock: repeat helper_msg string termination --- src/helper.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/helper.c b/src/helper.c index 84b5263..987834d 100644 --- a/src/helper.c +++ b/src/helper.c @@ -205,6 +205,10 @@ int run_helper(int in_fd, int out_fd, int log_stderr) if (rv) continue;
+ /* terminated at sender, but confirm for checker */ + hm.path[SANLK_HELPER_PATH_LEN-1] = '\0'; + hm.args[SANLK_HELPER_ARGS_LEN-1] = '\0'; + if (hm.type == HELPER_MSG_RUNPATH) { pid = fork(); if (!pid) {
sanlock-devel@lists.fedorahosted.org