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
Taint: track SASL auth intermediate inputs
[exim.git]
/
src
/
src
/
base64.c
diff --git
a/src/src/base64.c
b/src/src/base64.c
index f7ed0b5b514c4f54be57b7790876eff2942c1be2..591ea3d5b1b15221f126c9f4d103e4d8d2319a40 100644
(file)
--- a/
src/src/base64.c
+++ b/
src/src/base64.c
@@
-4,9
+4,10
@@
/* 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) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 */
+/* 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