initialize action.sa_flags

action.sa_flags should be initialized. I don't know which value fits best but initializing it with zero is better than leaving it unintialized.