Re:RainLoop Webmail: Simple, modern and fast web-based email...
by minaguib on Wednesday June 25, 2014 @12:23AM
(#7942226)
The classical "broken pipe" typically occurs when a process is writing to a closed pipe, not reading (which usually gets a vanilla EOF)
See my longer reply to tenken for some other scenarios I could think off.
If curl was SIGKILLed, wouldn't that result in a "broken pipe", therefore causing the shell to abort? The only way the "rm -rf /" would be executed would be if the pipe shut down cleanly and the shell saw an EOF (since obviously there would not be a newline in the scenario you described).