diff options
author | jobol <jose.bollo@iot.bzh> | 2018-05-14 11:19:34 +0200 |
---|---|---|
committer | jobol <jose.bollo@iot.bzh> | 2018-05-14 11:19:34 +0200 |
commit | d2508c89ed7f3445407b0f73f5536984445a2baa (patch) | |
tree | 5ff9bae9b4fb573e79d912328dc8274beaeeaa9d /wrap-json.test.result | |
parent | be8ea3517a0bc704bc1d923a6373c36f49866641 (diff) |
wrap-json: Fix bug decoding empty base64
The function 'decode_base64' was buggy because
it freed 2 times the pointer 'result'.
This came from the fact realloc frees the
pointer and return NULL when the size if 0.
Signed-off-by: jobol <jose.bollo@iot.bzh>
Diffstat (limited to 'wrap-json.test.result')
0 files changed, 0 insertions, 0 deletions