openSUSE / Mojo-IOLoop-ReadWriteProcess

Execute external programs or internal code blocks as separate process
Other
10 stars 13 forks source link

Session: Do not set SIG{CHLD} handler twice #18

Closed cfconrad closed 2 years ago

cfconrad commented 2 years ago

If we set the child handler once, we store the old handler in our member handler. But this wasn't guarded, so if someone actually creates two processes within one session object, we overwrite the old handler.