dog leg (n.)

"something bent like a dog's hind leg," 1703. Originally of a type of staircase.