cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH] hostip: Fix signal race in Curl_resolv_timeout.

From: Daniel Stenberg <>
Date: Sat, 14 Mar 2015 18:25:54 +0100 (CET)

On Sat, 14 Mar 2015, Tobias Stoeckmann wrote:

> The signal handler is installed before curl_jmpenv is initialized. This
> means that an already installed alarm timer could trigger the newly
> installed signal handler, leading to undefined behavior when it accesses the
> uninitialized curl_jmpenv.

Thanks a lot. Lovely catch and awesome explanation. Merged and pushed now!

List admin:
Received on 2015-03-14