Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
3.5.4, 3.7.0, 3.6.2
-
None
-
None
-
Incompatible change, Reviewed
Description
int zoo_amulti(zhandle_t *zh, int count, const zoo_op_t *ops,
zoo_op_result_t *results, void_completion_t completion, const void *data)
{ struct RequestHeader h =
;
struct MultiHeader mh = {-1, 1, -1};
struct oarchive *oa = create_buffer_oarchive();
completion_head_t clist = { 0 }; // not initialize for cond or lock
int rc = serialize_RequestHeader(oa, "header", &h);
....
queue_completion(&clist, entry, 0); //queue it will segment errors
// do lock or unlock which have not been initialized!!
static void queue_completion(completion_head_t *list, completion_list_t *c,
int add_to_front)
// oh my god!!
int unlock_completion_list(completion_head_t *l)