From 3ddd3e7aaa16e086136f64881bc9d403b87a61ec Mon Sep 17 00:00:00 2001 From: rexxnor Date: Sat, 29 Jun 2019 09:44:36 +0200 Subject: [PATCH] changed to large malloc in namestore heap database plugin buffer --- src/namestore/plugin_namestore_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/namestore/plugin_namestore_heap.c b/src/namestore/plugin_namestore_heap.c index 8fe03764d..2a72c0e51 100644 --- a/src/namestore/plugin_namestore_heap.c +++ b/src/namestore/plugin_namestore_heap.c @@ -193,7 +193,7 @@ database_setup (struct Plugin *plugin) return GNUNET_SYSERR; } - buffer = GNUNET_malloc (size + 1); + buffer = GNUNET_malloc_large (size + 1); if (GNUNET_SYSERR == GNUNET_DISK_file_read (fh, buffer, -- 2.25.1