I never had a professor like that in college, but there was one with a reputation like that at my grad school. The general assessment of him among the grad students was he was going to say something inappropriate to the wrong person someday and find himself on the wrong end of a harassment complaint