projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b74a7
)
changed to large malloc in namestore heap database plugin buffer
author
rexxnor
<rexxnor+gnunet@brief.li>
Sat, 29 Jun 2019 07:44:36 +0000
(09:44 +0200)
committer
rexxnor
<rexxnor+gnunet@brief.li>
Sat, 29 Jun 2019 07:44:46 +0000
(09:44 +0200)
src/namestore/plugin_namestore_heap.c
patch
|
blob
|
history
diff --git
a/src/namestore/plugin_namestore_heap.c
b/src/namestore/plugin_namestore_heap.c
index 8fe03764d6490a76de0f0ef8194cf06245b569ad..2a72c0e5107523d1d3ba41536c2aba2c1a7af94f 100644
(file)
--- 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,