It's worth mentioning K&R, which used to be where people learn C, has a huge number of instances of very risky practices.