nmh-commits
[Top][All Lists]
Advanced

[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.6-branchpoint-1331-g2eea62e
Date: Sun, 7 May 2017 12:43:37 -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  2eea62e1e3ef4496c0a850250d6575a65a6f2f3d (commit)
       via  803e139a6595e33a0a636a3e7fd815ebd942a1dc (commit)
       via  b40ecb4417e49cbc53459b28ee394a3b2eb93c9c (commit)
       via  a23477eb9bd7d1af5f66a171041bf72af932488e (commit)
      from  c347c3bbba2b3eea2442b641a11a381dea709cd8 (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 2eea62e1e3ef4496c0a850250d6575a65a6f2f3d
Author: Ralph Corderoy <address@hidden>
Date:   Sun May 7 14:01:48 2017 +0100

    uip/scansbr.c: Replace uses of SBUFSIZ with NMH_BUFSIZ.
    
    Now that the former is defined as the latter, the uses of SBUFSIZ were
    all in the same expression and it simplifies from a ternary expression
    to NMH_BUFSIZ.

commit 803e139a6595e33a0a636a3e7fd815ebd942a1dc
Author: Ralph Corderoy <address@hidden>
Date:   Sun May 7 13:57:39 2017 +0100

    uip/rcvdist.c: Replace SBUFSIZ with NMH_BUFSIZ.
    
    The former was defined as the latter and had only one proper use: to
    size a char array.  The other uses should have been the sizeof operator
    on that array, and now are.

commit b40ecb4417e49cbc53459b28ee394a3b2eb93c9c
Author: Ralph Corderoy <address@hidden>
Date:   Sun May 7 13:56:40 2017 +0100

    uip/replsbr.c: Replace single use of SBUFSIZ with NMH_BUFSIZ.
    
    The former was defined as the latter;  not a lot of point having it.

commit a23477eb9bd7d1af5f66a171041bf72af932488e
Author: Ralph Corderoy <address@hidden>
Date:   Sun May 7 13:03:01 2017 +0100

    Make many m_getfld() buffer parameters NMH_BUFSIZ big.
    
    char arrays were often stdio.h's BUFSIZ large, and that's 8192 with here
    with glibc 2.25-1 on Linux x86_64, so using NMH_BUFSIZ is no different
    as that's max(BUFSIZ, 8192).  But some were 256 or 512 with a local
    SBUFSIZ macro and they caused scan(1) to truncate a field, or pick(1) to
    not spot text because the field was truncated.
    
    Delete bad-input/test-header's test for m_getfld()'s detection for a
    header without a colon that's under the header-length NAMESZ limit, but
    longer than the passed in buffer.  This no longer happens in scan as the
    buffer is larger than the longest allowed header.

-----------------------------------------------------------------------

Summary of changes:
 sbr/readconfig.c           |  2 +-
 sbr/seq_read.c             |  2 +-
 test/bad-input/test-header | 24 ------------------------
 uip/distsbr.c              |  4 ++--
 uip/forwsbr.c              |  2 +-
 uip/mhbuildsbr.c           |  2 +-
 uip/mhcachesbr.c           |  2 +-
 uip/mhlsbr.c               |  2 +-
 uip/mhparse.c              |  2 +-
 uip/new.c                  |  2 +-
 uip/picksbr.c              |  2 +-
 uip/post.c                 |  2 +-
 uip/prompter.c             |  2 +-
 uip/rcvdist.c              | 10 ++++------
 uip/replsbr.c              | 11 +----------
 uip/scansbr.c              | 13 +------------
 uip/sendsbr.c              |  2 +-
 uip/show.c                 |  2 +-
 uip/slocal.c               |  4 ++--
 uip/sortm.c                |  2 +-
 uip/whatnowsbr.c           |  2 +-
 21 files changed, 25 insertions(+), 71 deletions(-)


hooks/post-receive
-- 
The nmh Mail Handling System



reply via email to

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