changed to large malloc in namestore heap database plugin buffer
authorrexxnor <rexxnor+gnunet@brief.li>
Sat, 29 Jun 2019 07:44:36 +0000 (09:44 +0200)
committerrexxnor <rexxnor+gnunet@brief.li>
Sat, 29 Jun 2019 07:44:46 +0000 (09:44 +0200)
src/namestore/plugin_namestore_heap.c

index 8fe03764d6490a76de0f0ef8194cf06245b569ad..2a72c0e5107523d1d3ba41536c2aba2c1a7af94f 100644 (file)
@@ -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,