As I pointed out, I am not a lawyer. I have however read news vaguely similar to what I described, many times through the years. It really makes me fearful that in the end you're vulnerable just for publishing your work...
I do hope I am very naively wrong. But history hasn't given us much comfort in this area so far.