[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-473-gff30f98 |
Date: |
Tue, 23 Jan 2018 13:15:16 -0500 (EST) |
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 ff30f98e6a1ea1de5ed4ea69cc3552440ee7f26c (commit)
from 20fdce3e9137be985ffb22a2c97c51bcd45f72e0 (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 ff30f98e6a1ea1de5ed4ea69cc3552440ee7f26c
Author: Ralph Corderoy <address@hidden>
Date: Tue Jan 23 16:37:01 2018 +0000
fmt_scan(): Avoid undefined behaviour from overlapping strncpy(3).
M. Levinson pointed out in private email that pcc(1) tickles a bug that
causes undefined behaviour due to part of `buffer[]', accessed by `str',
being strncpy(3) back to its start. Fix by using memmove(3) to slide
`str' back to `buffer's beginning whenever it may have wandered off.
Fixes e8635a8a that added `%(unquote)', but using `%(trim)' twice was
also faulty in the same way and pre-dates git.
-----------------------------------------------------------------------
Summary of changes:
sbr/fmt_scan.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 1.7-branchpoint-473-gff30f98,
Ralph Corderoy <=