esp-idf/components/esp_http_client/test
Chen Wu c10683f493 http: Fix parsing invalid url cause to crash
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.

Fix:
http added null pointer check now.

Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-02 14:15:43 +08:00
..
CMakeLists.txt cmock: added cmock as component 2020-09-02 16:38:37 +08:00
test_http_client.c http: Fix parsing invalid url cause to crash 2021-12-02 14:15:43 +08:00