diff options
author | jobol <jose.bollo@iot.bzh> | 2018-05-14 11:19:34 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 14:12:02 +0100 |
commit | 359e7863f524eeb3eae39bf0c5f77917487b984a (patch) | |
tree | 5ff9bae9b4fb573e79d912328dc8274beaeeaa9d /.gitignore | |
parent | 95aaa4b0bb652c74a3515bb0dc6a2e75b11e33c6 (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 '.gitignore')
0 files changed, 0 insertions, 0 deletions