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:
cd26328
)
Fix overflow in test_sq
author
David Barksdale
<amatus@amat.us>
Mon, 9 Oct 2017 20:06:13 +0000
(15:06 -0500)
committer
David Barksdale
<amatus@amat.us>
Mon, 9 Oct 2017 20:06:13 +0000
(15:06 -0500)
src/sq/sq_result_helper.c
patch
|
blob
|
history
diff --git
a/src/sq/sq_result_helper.c
b/src/sq/sq_result_helper.c
index 9579863b2326bc1c7dc9f603138654830e5ab44e..f2986a0532068bfdf054b0c41b51c3fa8a289afa 100644
(file)
--- a/
src/sq/sq_result_helper.c
+++ b/
src/sq/sq_result_helper.c
@@
-620,7
+620,7
@@
extract_uint16 (void *cls,
void *dst)
{
uint64_t v;
- uint
32
_t *u = dst;
+ uint
16
_t *u = dst;
GNUNET_assert (sizeof (uint16_t) == *dst_size);
if (SQLITE_INTEGER !=