diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-03-12 15:24:05 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2013-03-13 08:28:06 -0400 |
commit | f51639d8e48e353402e5f649f2fac7ff3143dfbd (patch) | |
tree | 8bcc20cb4fbf1ff76e719951bdb152882d6d0744 /src/tests | |
parent | a39403666f93e34005061eaf36550da96ab5e66f (diff) | |
download | sssd-f51639d8e48e353402e5f649f2fac7ff3143dfbd.tar.gz sssd-f51639d8e48e353402e5f649f2fac7ff3143dfbd.tar.xz sssd-f51639d8e48e353402e5f649f2fac7ff3143dfbd.zip |
fix segfault in nss responder unit test
https://fedorahosted.org/sssd/ticket/1833
state is expected to be a pointer
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/common_tev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/common_tev.c b/src/tests/common_tev.c index 83ba9fd75..e9db8d053 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; |