X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c9433c53ad292c2f7ec05aa9d083767f95d07858..a85c067ba6c6940512cf57ec213277a370d87e70:/src/src/rfc2047.c diff --git a/src/src/rfc2047.c b/src/src/rfc2047.c index c3cf4db11..af8993695 100644 --- a/src/src/rfc2047.c +++ b/src/src/rfc2047.c @@ -2,9 +2,10 @@ * Exim - an Internet mail transport agent * *************************************************/ +/* Copyright (c) The Exim Maintainers 2020 - 2022 */ /* Copyright (c) University of Cambridge 1995 - 2018 */ -/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* This file contains a function for decoding message header lines that may contain encoded "words" according to the rules described in @@ -47,7 +48,7 @@ rfc2047_qpdecode(uschar *string, uschar **ptrptr) int len = 0; uschar *ptr; -ptr = *ptrptr = store_get(Ustrlen(string) + 1, is_tainted(string)); /* No longer than this */ +ptr = *ptrptr = store_get(Ustrlen(string) + 1, string); /* No longer than this */ while (*string != 0) { @@ -209,7 +210,7 @@ building the result as we go. The result may be longer than the input if it is translated into a multibyte code such as UTF-8. That's why we use the dynamic string building code. */ -yield = store_get(sizeof(gstring) + ++size, is_tainted(string)); +yield = store_get(sizeof(gstring) + ++size, string); yield->size = size; yield->ptr = 0; yield->s = US(yield + 1);