Re: [exim] Another strange log about tainting
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Αυτό το μήνυμα είναι μέρος του ακόλουθου νήματος:
το πλήρες δέντρο νημάτων ταξινομημένο κατά ημερομηνία
Ian Zimmerman στο
2019-12-11 22:20
Jeremy Harris στο
2019-12-14 17:44
Συντάκτης:
Ian Zimmerman
Ημερομηνία:
2019-12-14 17:27
UTC
Προς:
exim-users
Αντικείμενο:
Re: [exim] Another strange log about tainting
On 2019-12-11 14:20, Ian Zimmerman wrote:
> const uschar* exim_version = expand_string(US "${exim_version}");
> if (Ustrcmp(exim_version, EXIM_VERSION_STR)) {
So, I have rewritten it as follows, and there is no more noise. Is this
now the expected usage of constant strings?
uschar *my_expando = string_copy_taint(US "${exim_version}", FALSE);
uschar *my_version_string = expand_string(my_expando);
if (Ustrcmp(my_version_string, EXIM_VERSION_STR))
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.