FIX i_strdup(), broken since [354fc47e] as of 2017-07-16..
commit6d437ab6cdfcf9bf4379adf27b42eda98b06f1a0
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Thu, 9 Nov 2017 22:05:19 +0000 (9 23:05 +0100)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Thu, 9 Nov 2017 22:19:40 +0000 (9 23:19 +0100)
treeae26230ea8267460da0838767419648bc9b16f14
parentd8aedaf93ff214b540cd113b7db362d58d5b3208
FIX i_strdup(), broken since [354fc47e] as of 2017-07-16..

[354fc47ec4b6d209a66432894e348f9db8235be4] (strings.c: tweak
various old char* functions, 2017-07-16) actually causes
the last character of a non-empty mail address string (plus) to be
overwritten by NUL.

This does not break URLified S/MIME *smime-sign-cert-* etc.
lookups because that truncation happens for `set' as well as for
any lookup.  It could cause ambiguities for addresses etc. which
are identical except for the very last character.
strings.c