uclient: Handle memory allocation failure for url
authorTobias Schramm <[email protected]>
Sun, 18 Feb 2018 12:46:10 +0000 (13:46 +0100)
committerJohn Crispin <[email protected]>
Tue, 20 Feb 2018 07:29:00 +0000 (08:29 +0100)
commit2ac991bc53a56fa1109d9477d9d83e1ddd11e00d
tree7d7fb59c3ca89c06b23a5fad362170de92abff8e
parent66fb58dff445514a53febab5a81a8a16d5ba9d56
uclient: Handle memory allocation failure for url

Check ptr to url after allocation to prevent null pointer
dereference

Signed-off-by: Tobias Schramm <[email protected]>
uclient.c