uclient-http: basic auth: Handle memory allocation failure
authorTobias Schramm <tobleminer@gmail.com>
Sun, 18 Feb 2018 12:46:05 +0000 (13:46 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 20 Feb 2018 07:16:54 +0000 (08:16 +0100)
commitf41ff608831b843719835f3657182a8c00aabbae
tree1ca6db6c771034b52921cd45afe35d222ad77b85
parent9fd8070c6395ee0ab6b5a7c0d98c370ce0847553
uclient-http: basic auth: Handle memory allocation failure

Allocation of the base64 buffer might fail, resulting in a null
ptr being passed to base64_encode as a target buffer

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
uclient-http.c