diff options
Diffstat (limited to 'pith')
-rw-r--r-- | pith/makefile.wnt | 8 | ||||
-rw-r--r-- | pith/pine.hlp | 6 | ||||
-rw-r--r-- | pith/reply.c | 4 |
3 files changed, 11 insertions, 7 deletions
diff --git a/pith/makefile.wnt b/pith/makefile.wnt index 4e5b33f4..48ab5817 100644 --- a/pith/makefile.wnt +++ b/pith/makefile.wnt @@ -45,7 +45,7 @@ HFILES= ../include/system.h ../include/general.h \ init.h keyword.h ldap.h list.h mailcap.h mailcmd.h mailindx.h maillist.h \ mailpart.h mailview.h margin.h mimedesc.h mimetype.h msgno.h newmail.h news.h \ options.h pattern.h pineelt.h pipe.h readfile.h remote.h remtype.h repltype.h reply.h \ - rfc2231.h save.h savetype.h search.h send.h sequence.h signal.h sort.h sorttype.h \ + rfc2231.h save.h savetype.h search.h send.h sequence.h signal.h smime.h smkeys.h sort.h sorttype.h \ state.h status.h store.h stream.h string.h strlst.h takeaddr.h tempfile.h text.h \ thread.h url.h user.h util.h @@ -54,9 +54,9 @@ OFILES= ablookup.obj abdlc.obj addrbook.obj addrstring.obj adrbklib.obj bldaddr. filter.obj flag.obj folder.obj handle.obj help.obj helptext.obj hist.obj icache.obj imap.obj init.obj \ keyword.obj ldap.obj list.obj mailcap.obj mailcmd.obj mailindx.obj maillist.obj mailview.obj \ margin.obj mimedesc.obj mimetype.obj msgno.obj newmail.obj news.obj pattern.obj pipe.obj \ - readfile.obj remote.obj reply.obj rfc2231.obj save.obj search.obj sequence.obj send.obj sort.obj state.obj \ - status.obj store.obj stream.obj string.obj strlst.obj takeaddr.obj tempfile.obj text.obj \ - thread.obj adjtime.obj url.obj util.obj + readfile.obj remote.obj reply.obj rfc2231.obj save.obj search.obj sequence.obj send.obj \ + smime.obj smkeys.obj sort.obj state.obj status.obj store.obj stream.obj string.obj strlst.obj \ + takeaddr.obj tempfile.obj text.obj thread.obj adjtime.obj url.obj util.obj all: libpith.lib diff --git a/pith/pine.hlp b/pith/pine.hlp index 845f6214..c3c2de06 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 246 2018-01-08 23:34:22 +Alpine Commit 249 2018-02-24 16:53:18 ============= h_news ================= <HTML> <HEAD> @@ -232,6 +232,10 @@ Bugs that have been addressed include: <LI> TLS 1.2 works does not work if Alpine is compiled with openssl >= 1.1.0. Reported and patched by Kyle George. + + <LI> If the directory where Alpine saves the certificates if empty, + alpine would not create a self-signed certificate to encrypt the + password file. </UL> <P> diff --git a/pith/reply.c b/pith/reply.c index 4c0a6f44..2aa9ba22 100644 --- a/pith/reply.c +++ b/pith/reply.c @@ -2236,8 +2236,8 @@ forward_subject(ENVELOPE *env, int flags) (l < 5 || strcmp(tmp_20k_buf+l-5,"(fwd)"))){ snprintf(tmp_20k_buf+2000, SIZEOF_20KBUF-2000, "%s (fwd)", tmp_20k_buf); tmp_20k_buf[SIZEOF_20KBUF-2000-1] = '\0'; - strncpy(tmp_20k_buf, tmp_20k_buf+2000, SIZEOF_20KBUF); - tmp_20k_buf[SIZEOF_20KBUF-1] = '\0'; + memmove(tmp_20k_buf, tmp_20k_buf+2000, strlen(tmp_20k_buf+2000)); + tmp_20k_buf[strlen(tmp_20k_buf+2000)] = '\0'; } /* |