However, this won't prevent the lawsuit from naming the publisher; it just means the publisher can later seek money from the author. (law.stackexchange.com)
Seeking the guidance of an attorney, especially one familiar with intellectual property and media law, can help prevent lawsuits and loss. (toughnickel.com)
None of this, of course, prevents lawsuits in the case of catastrophic outcomes. (humblemechanic.com)