diff options
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; |