diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-04-01 09:34:14 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-01 10:36:19 -0400 |
commit | 99c38e7eec4eda354afe4936cc9e7a5653a0f137 (patch) | |
tree | d0efdfed6b16adeb68e8e539e24d28be8ee4e4be /server/providers | |
parent | e72ad8b1b0dac22aeb097a54c20c7ed32d2bf242 (diff) | |
download | sssd-99c38e7eec4eda354afe4936cc9e7a5653a0f137.tar.gz sssd-99c38e7eec4eda354afe4936cc9e7a5653a0f137.tar.bz2 sssd-99c38e7eec4eda354afe4936cc9e7a5653a0f137.zip |
Do not file a sure segfault.
Diffstat (limited to 'server/providers')
-rw-r--r-- | server/providers/data_provider_be.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c index 675fb634..4e99f562 100644 --- a/server/providers/data_provider_be.c +++ b/server/providers/data_provider_be.c @@ -190,6 +190,8 @@ static int be_file_request(struct be_ctx *ctx, struct tevent_timer *te; struct timeval tv; + if (!fn || !req) return EINVAL; + areq = talloc(req, struct be_async_req); if (!areq) { return ENOMEM; |