On 08/10/2019 08:01, Janne Blomqvist wrote: > > Does -fstack-check and/or -fstack-clash-protection help? Thank you, that does help indeed. With either one or the other flag, the code now stops with a segfault when the stack seems to be exceeded. Perfect!!!