Why companies that rely on open-source projects must insist on a strong, enforceable code of conduct

With strong personalities at play and a lack of any legal recourse, companies involved with open-source projects may get more than they bargain for when harassment and even death threats occur. But in these situations, it may help to have an enforceable code of conduct to stop problems before they happen.