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
Docs: CVE note
[exim.git]
/
src
/
src
/
base64.c
diff --git
a/src/src/base64.c
b/src/src/base64.c
index fa06a7a34b29735e38c3f8ca4bb8ddffe296ce4f..f14ecc30a0a0f48bd006b50a6d383422c1d005d8 100644
(file)
--- a/
src/src/base64.c
+++ b/
src/src/base64.c
@@
-2,11
+2,12
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2020 - 2023 */
+/* Copyright (c) University of Cambridge 1995 - 2018 */
/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004, 2015 */
/* License: GPL */
/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004, 2015 */
/* License: GPL */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
-/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 - 2022 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-151,7
+152,7
@@
static uschar dec64table[] = {
};
int
};
int
-b64decode(const uschar *
code, uschar **ptr
)
+b64decode(const uschar *
code, uschar ** ptr, const void * proto_mem
)
{
int x, y;
{
int x, y;
@@
-159,7
+160,7
@@
uschar *result;
{
int l = Ustrlen(code);
{
int l = Ustrlen(code);
- *ptr = result = store_get(1 + l/4 * 3 + l%4,
code
);
+ *ptr = result = store_get(1 + l/4 * 3 + l%4,
proto_mem
);
}
/* Each cycle of the loop handles a quantum of 4 input bytes. For the last
}
/* Each cycle of the loop handles a quantum of 4 input bytes. For the last