You might find that Fil-C prevents those too. It’s pretty strict. You can only use longjmp to pop stack like an exception would
It’s true that Fil-C doesn’t try to protect you from those bugs. I just don’t think of those as the worst things that can happen when you misuse these APIs.