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, 1.7-release, up


From: Ken Hornstein
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, 1.7-release, updated. 1.7-RC3-5-g34dd8df
Date: Sat, 4 Nov 2017 10:03:36 -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, 1.7-release has been updated
       via  34dd8dfbf29cd1e7f545fa01cfa9c034658c250d (commit)
      from  3dfc049a959e51e8b1e3f6e8a1d5779cc47294b1 (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 34dd8dfbf29cd1e7f545fa01cfa9c034658c250d
Author: Ken Hornstein <address@hidden>
Date:   Sat Nov 4 09:59:18 2017 -0400

    Use va_copy() to get a copy of va_list, instead of using original.
    
    netsec_vprintf() can call vsnprintf() twice if the outgoing buffer is
    full (but it happens rarely in practice, given the way the current
    code uses it).  But if this DOES happen, vsnprintf() will use the
    same va_list argument twice, and the second time around either it will
    grab a random bit of memory off of the stack OR it will segfault.
    So we always use va_copy() to get our own copy of the passed-in va_list
    and work on that.
    
    (cherry picked from commit b47b562525f149f175c3d216feea20a6db2e9ff5)

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

Summary of changes:
 sbr/netsec.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


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



reply via email to

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