curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: [DKIM] Some errors reported by valgrind

From: James Read via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 5 Jun 2020 11:25:56 +0100

On Fri, Jun 5, 2020 at 9:30 AM Zakrzewski, Jakub via curl-library <
curl-library_at_cool.haxx.se> wrote:

> My wild guess is that Valgrind have something against the uninitialized
> bytes in the "ev" objects. The union epoll_data is 64 bits but you set only
> the 32-bit "fd" member.
> Try zeroing "ev" in crawler_init and setsock before use.
>

Yeah. That seems to have worked. Not getting those error messages any more.

James Read

> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-06-05