[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 02/03: -fix stupid crash bug
From: |
gnunet |
Subject: |
[taler-exchange] 02/03: -fix stupid crash bug |
Date: |
Tue, 10 Oct 2023 18:23:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 345c091a0d46fca79e2e01f9aee6b3dc3012dc4f
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Tue Oct 10 18:23:22 2023 +0200
-fix stupid crash bug
---
src/exchange/taler-exchange-httpd_keys.c | 2 +-
src/util/paths.conf | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c
b/src/exchange/taler-exchange-httpd_keys.c
index 6bdc404d..a0cd9441 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -2801,7 +2801,7 @@ append_signature (struct SignatureContext *sig_ctx,
if (0 == sig_ctx->elements_size)
new_size = 1024;
else
- new_size = sig_ctx->elements_size;
+ new_size = sig_ctx->elements_size * 2;
GNUNET_array_grow (sig_ctx->elements,
sig_ctx->elements_size,
new_size);
diff --git a/src/util/paths.conf b/src/util/paths.conf
index 3415b709..9e1c53bb 100644
--- a/src/util/paths.conf
+++ b/src/util/paths.conf
@@ -17,13 +17,13 @@ TALER_HOME = ${TALER_TEST_HOME:-${HOME:-${USERPROFILE}}}
# for how these should be used.
# Persistent data storage
-TALER_DATA_HOME =
${TALER_TEST_HOME:-${XDG_DATA_HOME:-${TALER_HOME}/.local/share/}/.local/share/}taler/
+TALER_DATA_HOME =
${TALER_TEST_HOME:-${XDG_DATA_HOME:-${TALER_HOME}}}/.local/share/taler/
# Configuration files
-TALER_CONFIG_HOME =
${TALER_TEST_HOME:-${XDG_CONFIG_HOME:-${TALER_HOME}/.config/}/.config/}taler/
+TALER_CONFIG_HOME =
${TALER_TEST_HOME:-${XDG_CONFIG_HOME:-${TALER_HOME}}}/.config/taler/
# Cached data, no big deal if lost
-TALER_CACHE_HOME =
${TALER_TEST_HOME:-${XDG_CACHE_HOME:-${TALER_HOME}/.cache/}/.cache/}taler/
+TALER_CACHE_HOME =
${TALER_TEST_HOME:-${XDG_CACHE_HOME:-${TALER_HOME}}}/.cache/taler/
# Runtime data (always lost on system boot)
TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/taler-system-runtime/
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.