curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Null pointer dereference in tool_write_cb?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 18 Jun 2017 00:00:14 +0200 (CEST)

On Sat, 17 Jun 2017, Jakub Wilk wrote:

> Something if off here: either config can be NULL, and then the first line
> would deference such pointer; or config can never be NULL, and the null
> pointer check is superfluous.

The check is removed now since
https://github.com/curl/curl/commit/d4cc240c19f84c

Thanks!

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