curl / Mailing Lists / curl-library / Single Mail


Re: [patch] Fix inconsistency between curl_write_callback and tool_header_cb/tool_write_cb

From: Daniel Stenberg <>
Date: Wed, 29 Mar 2017 10:09:05 +0200 (CEST)

On Tue, 28 Mar 2017, Hanno Böck wrote:

> As you can see the callback definition uses a char* for the first argument,
> while the function uses a void*. That's what CFI complains about.
> I see no harm in changing the function definitions to char*, so I propose
> changing that to make curl usable with CFI. See attached patch.

Thanks Hanno, I agree completely with your patch. Now landed in git:


Received on 2017-03-29