curl-library
Re: [patch] Fix inconsistency between curl_write_callback and tool_header_cb/tool_write_cb
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Mar 2017 10:09:05 +0200 (CEST)
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:
https://github.com/curl/curl/commit/aced311d18
-- / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-29