afb-token: Fix a critical bug 41/23441/1 8.99.4 icefish/8.99.4 icefish_8.99.4
authorJose Bollo <jose.bollo@iot.bzh>
Fri, 20 Dec 2019 13:55:28 +0000 (14:55 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Fri, 20 Dec 2019 13:58:10 +0000 (14:58 +0100)
commit2ed1d659b481c50380faed568818443d092f06ec
tree95d4cff1564446a8821f8fb31cc805c89992fcab
parent6422dd2e6bee2903690fe430b0e7a666179ec163
afb-token: Fix a critical bug

Management of tokens had a big bug, due to insufficent testing.
This fixes the issue that leaded to memory crashes.

BUG-AGL: SPEC-3066

Change-Id: If967ec58ed04dc715d255a5e7c2196133ce3ec4a
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afb-token.c
src/main-afb-client-demo.c