[LTP] [PATCH] Add regression test for CVE-2017-17053
Cyril Hrubis
chrubis@suse.cz
Fri Feb 9 17:08:42 CET 2018
Hi!
> > SAFE_SIGNAL(SIGSEGV, handler) as well?
> I thought about it, but that would use signal(). Using signal should in
> general be avoided in a multithreaded programm (see man signal).
Ah, you are right, we have to use sigaction() anyways.
I do not think that anything bad will happen if we use signal() before
we start the threads though.
And we may as well add SAFE_SIGACTION() to the test library.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list