From 1a47d07d665dff4f24005c1f03e97610ecfa2713 Mon Sep 17 00:00:00 2001 From: bptato Date: Wed, 3 Feb 2021 13:03:52 +0100 Subject: Use GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE for allocating memory for base64 encoding --- etc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc.c') diff --git a/etc.c b/etc.c index 0c3a004..4e662e4 100644 --- a/etc.c +++ b/etc.c @@ -2024,7 +2024,7 @@ base64_encode(const unsigned char *src, size_t len) if (k + 1 < len) return NULL; - w = GC_MALLOC_ATOMIC(k + 1); + w = GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE(k + 1); w[k] = 0; at = w; -- cgit v1.2.3