From f53b1740387e99d6d7b5d0f8c1654e888d00b383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrez...@redhat.com> Date: Tue, 12 Mar 2013 15:24:05 +0100 Subject: [PATCH] fix segfault in nss responder unit test
https://fedorahosted.org/sssd/ticket/1833 state is expected to be a pointer --- src/tests/common_tev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/common_tev.c b/src/tests/common_tev.c index 83ba9fd751616402529d5e03f84e50128365c6da..e9db8d053b9e642f363187901019519e0f14f817 100644 --- a/src/tests/common_tev.c +++ b/src/tests/common_tev.c @@ -30,7 +30,7 @@ struct tevent_req * test_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, errno_t err) { struct tevent_req *req; - int state; + int *state; req = tevent_req_create(mem_ctx, &state, int); if (!req) return NULL; -- 1.7.11.7
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-devel