summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-11-26 08:53:23 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-11-26 08:53:23 +0200
commit510d01ff77ca08345b07768966f7188ae7736c53 (patch)
treee3872e31035708181caaf104c1f0d2860b6f503b
parentde640c83e991622e5c2164535eee899b792c7feb (diff)
downloadmailutils-510d01ff77ca08345b07768966f7188ae7736c53.tar.gz
mailutils-510d01ff77ca08345b07768966f7188ae7736c53.tar.bz2
Bugfix
* comsat/action.c (run_user_action): Fill env.locus.end with 0s.
-rw-r--r--comsat/action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/comsat/action.c b/comsat/action.c
index b6799c481..c6102c49f 100644
--- a/comsat/action.c
+++ b/comsat/action.c
@@ -692,6 +692,7 @@ run_user_action (const char *device, mu_message_t msg)
env.locus.beg.mu_file = "<default>";
env.locus.beg.mu_line = 1;
env.locus.beg.mu_col = 0;
+ memset (&env.locus.end, 0, sizeof env.locus.end);
eval_biffrc (&env);
mu_stream_destroy (&env.input);
}

Return to:

Send suggestions and report system problems to the System administrator.