Fix bad memory access at client disconnection 02/21902/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 9 Jul 2019 22:06:36 +0000 (00:06 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Thu, 18 Jul 2019 13:38:02 +0000 (15:38 +0200)
commit51ab7c2f95d6d459302423a57cc617021ef6126d
tree20588afd25b3332c0f3c15eee09c8c61c6ff7f29
parent6dfeafe7e4fa582b3db3f950136bc97f8611fc6d
Fix bad memory access at client disconnection

The management of structures handling a client
connection to a exported --ws-server was accessing
freed memory. Tha commit fixes that issue.

Bug-AGL: SPEC-2651

Change-Id: I511218afc907308347bc422a8aead32ca00bdae6
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afb-api-ws.c
src/afb-proto-ws.c
src/afb-ws.c
src/afs-supervisor.c