projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
c6f53a5
)
Needed to add memset to remove crashing case in memslap
author
Brian Aker
<brian@tangent.org>
Fri, 30 Nov 2007 07:14:00 +0000
(23:14 -0800)
committer
Brian Aker
<brian@tangent.org>
Fri, 30 Nov 2007 07:14:00 +0000
(23:14 -0800)
src/memslap.c
patch
|
blob
|
history
diff --git
a/src/memslap.c
b/src/memslap.c
index 487b60230f11ddf7842b60346e75a41e0f2dfe29..0dd7ebca6cd4dcb8ee178fc7260ac35aa4d789fa 100644
(file)
--- a/
src/memslap.c
+++ b/
src/memslap.c
@@
-150,6
+150,7
@@
void scheduler(memcached_server_st *servers, conclusions_st *conclusion)
{
thread_context_st *context;
context= (thread_context_st *)malloc(sizeof(thread_context_st));
+ memset(context, 0, sizeof(thread_context_st));
context->servers= servers;
context->test= opt_test;