From: José Bollo Date: Thu, 12 Oct 2017 20:59:09 +0000 (+0200) Subject: afb-stub-ws: Always validate clients of stub-ws X-Git-Tag: eel_4.99.2~11 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=32bc7ed3914171cd7945551a5ba82afe909afe32 afb-stub-ws: Always validate clients of stub-ws Change-Id: I2c020d586e6f22e47dac8ddb50c8ee9ca9c46b2e Signed-off-by: José Bollo --- diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c index 8533c797..693a0d0c 100644 --- a/src/afb-stub-ws.c +++ b/src/afb-stub-ws.c @@ -479,6 +479,7 @@ static void on_call(void *closure, struct afb_proto_ws_call *call, const char *v /* init the context */ if (afb_context_connect(&wreq->xreq.context, sessionid, NULL) < 0) goto unconnected; + wreq->xreq.context.validated = 1; /* makes the call */ wreq->xreq.cred = afb_cred_addref(stubws->cred);