git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPDX: license tags (mostly by guesswork)
[exim.git]
/
src
/
src
/
moan.c
diff --git
a/src/src/moan.c
b/src/src/moan.c
index bf5483ce38b620c4410ce59794ef9737fc94d00b..387359458f1407870cd96bfb26deebc30781c7c3 100644
(file)
--- a/
src/src/moan.c
+++ b/
src/src/moan.c
@@
-2,9
+2,10
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2020 - 2022 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-only */
/* Functions for sending messages to sender or to mailmaster. */
/* Functions for sending messages to sender or to mailmaster. */
@@
-86,7
+87,8
@@
if (h || message_id)
fprintf(fp, "References:");
if (h)
{
fprintf(fp, "References:");
if (h)
{
- uschar * s, * id, * error;
+ const uschar * s;
+ uschar * id, * error;
uschar * referenced_ids[12];
int reference_count = 0;
uschar * referenced_ids[12];
int reference_count = 0;
@@
-385,7
+387,7
@@
if (bounce_return_message)
if (bounce_return_body && message_file)
{
BOOL enddot = f.dot_ends && message_file == stdin;
if (bounce_return_body && message_file)
{
BOOL enddot = f.dot_ends && message_file == stdin;
- uschar * buf = store_get(bounce_return_linesize_limit+2,
TRUE
);
+ uschar * buf = store_get(bounce_return_linesize_limit+2,
GET_TAINTED
);
if (firstline) fprintf(fp, "%s", CS firstline);
if (firstline) fprintf(fp, "%s", CS firstline);