[LTP] [PATCH v2] Add test for CVE 2018-9568

Cyril Hrubis chrubis@suse.cz
Thu Apr 16 15:52:45 CEST 2020


Hi!
> +static void cleanup(void)
> +{
> +	if (listenfd >= 0)
> +		SAFE_CLOSE(listenfd);
> +}

I've chnaged this to listenfd > 0, because if the first SAFE_CALL() in
setup has failed we will close stdin here.

Corrected the licence and pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list