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:
c8ca09b
)
- LRN's patch 2191
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 2 Mar 2012 11:54:44 +0000
(11:54 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 2 Mar 2012 11:54:44 +0000
(11:54 +0000)
src/namestore/namestore_common.c
patch
|
blob
|
history
diff --git
a/src/namestore/namestore_common.c
b/src/namestore/namestore_common.c
index 7d1876eecd6e0ae87c3bccb7275b4f8ba72ee99f..2e0a58c620ad9a1dabb611dfdf4b8f80a4da46b7 100644
(file)
--- a/
src/namestore/namestore_common.c
+++ b/
src/namestore/namestore_common.c
@@
-185,7
+185,7
@@
GNUNET_NAMESTORE_records_deserialize (size_t len,
dest[i].flags = ntohl (rec.flags);
off += sizeof (rec);
- if (off +
sizeof (dest[i].data_size)
> len)
+ if (off +
dest[i].data_size
> len)
return GNUNET_SYSERR;
dest[i].data = &src[off];
off += dest[i].data_size;