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 "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=6074d4d856c861d0a5df9b39d7421bc186ce2056 The branch, master has been updated via 6074d4d856c861d0a5df9b39d7421bc186ce2056 (commit) from 25f14bddd6a2df8d0b85a40d6a179170f0f57311 (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 6074d4d856c861d0a5df9b39d7421bc186ce2056 Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Wed Dec 3 13:25:34 2014 +0200 Fix eventual memory overrun * mail/mail.c (mail_mainloop): Check command length before trying to access its last byte. ----------------------------------------------------------------------- Summary of changes: mail/mail.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mail/mail.c b/mail/mail.c index f072e34..afdadd4 100644 --- a/mail/mail.c +++ b/mail/mail.c @@ -558,7 +558,7 @@ mail_mainloop (char *(*input) (void *, int), while ((command = (*input) (closure, 0)) != NULL) { int len = strlen (command); - while (command[len-1] == '\\') + while (len > 0 && command[len-1] == '\\') { char *buf; char *command2 = (*input) (closure, 1); hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils