Extended protection against stack smashing attacks without performance loss