wazuh / wazuh-http-request

Wazuh HTTP request library
7 stars 6 forks source link

Unchecked return value #48

Closed vikman90 closed 6 months ago

vikman90 commented 11 months ago

The execute method calls curl_easy_setopt with no error checking:

https://github.com/wazuh/wazuh-http-request/blob/3aa7c4b4a442f6ddfb52484fe766da769a8af50a/src/curlWrapper.hpp#L204

Damian-Mangold commented 6 months ago

@Dwordcito Error code checking was added in a previous implementation

https://github.com/wazuh/wazuh-http-request/blob/main/src/curlWrapper.hpp#L188-L193

so we can close this issue.