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:
93ca037
)
theoretically, file names might be longer than 1024 bytes, use MAX_PATH
author
Christian Grothoff
<christian@grothoff.org>
Mon, 26 Sep 2016 14:17:40 +0000
(14:17 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 26 Sep 2016 14:17:40 +0000
(14:17 +0000)
src/util/bio.c
patch
|
blob
|
history
diff --git
a/src/util/bio.c
b/src/util/bio.c
index 3de96bb4debff7a54668033bf6e45c3f17c3ea50..c3642c6483c8787980a46ed444b71eb4bd49fd4e 100644
(file)
--- a/
src/util/bio.c
+++ b/
src/util/bio.c
@@
-205,7
+205,7
@@
GNUNET_BIO_read_fn (struct GNUNET_BIO_ReadHandle *h,
void *result,
size_t len)
{
- char what[1024];
+ char what[
MAX_PATH +
1024];
GNUNET_snprintf (what, sizeof (what), "%s:%d", file, line);
return GNUNET_BIO_read (h, what, result, len);