[Top][All Lists]

[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-169-g1be4520
Date: Fri, 8 Sep 2017 09:56:35 -0400 (EDT)

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  1be45208ddf9d53398486ba1bce54d43ec026705 (commit)
       via  9a603b2b55d3d25e6201a56d5d2431fce17970d5 (commit)
       via  1e5cdbdd102555b43fc3ffa9a45ba9e7a833c190 (commit)
      from  bf0fa4275147d53be15621d12d6b71916f164385 (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 1be45208ddf9d53398486ba1bce54d43ec026705
Author: Ralph Corderoy <address@hidden>
Date:   Fri Sep 8 14:49:21 2017 +0100

    popsbr.c: Remove impossible case from switch statement.
    Actually, just convert the overkill switch statement into a couple of
    if-statements as it's a lot less lines.

commit 9a603b2b55d3d25e6201a56d5d2431fce17970d5
Author: Ralph Corderoy <address@hidden>
Date:   Fri Sep 8 14:30:31 2017 +0100

    mhbuildsbr.c: Attempt fork(2) multiple times, as intended.
    The loop attempting fork() intends to try five times but the comparison
    operator was wrong so would only try once.  Bug present since pre-git.

commit 1e5cdbdd102555b43fc3ffa9a45ba9e7a833c190
Author: Ralph Corderoy <address@hidden>
Date:   Fri Sep 8 14:12:51 2017 +0100

    base64.c: Don't out-of-bounds printf("%s", &encoded[-1]).
    `cp' is walking through encoded[] when an error occurs and is stepped
    back up to 20 elements to provide some lead-in context for the error
    message.  If might be stepped back to encoded-1, but it attempts to cope
    with that by `cp ? cp : encoded'.  cp is always non-NULL so true and cp
    is printed.  Presumably, `cp > encoded' was meant.  But it's all a bit
    of a rigmarole so just use min() instead to ensure cp stays within
    encoded and print cp.  Fixes bfc6b93af.


Summary of changes:
 sbr/base64.c     |  7 ++-----
 uip/mhbuildsbr.c |  2 +-
 uip/popsbr.c     | 25 +++++++++----------------
 3 files changed, 12 insertions(+), 22 deletions(-)

The nmh Mail Handling System

reply via email to

[Prev in Thread] Current Thread [Next in Thread]