]> granicus.if.org Git - curl/commit
metalink: add some error checks
authorDaniel Stenberg <daniel@haxx.se>
Fri, 6 Mar 2015 22:14:25 +0000 (23:14 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Mar 2015 22:14:25 +0000 (23:14 +0100)
commit3ac3331e140ba8833905bb9cdcd1e2a07fa36a0d
treea032b99edb58c8eec1bc6c824a5db1c8899d4aee
parent163d29826d0bad44385a085d1a057469b8f27b78
metalink: add some error checks

malloc() and strdup() calls without checking return codes.

Reported-by: Markus Elfring
Bug: https://github.com/bagder/curl/issues/150
src/tool_metalink.c