Should you buy a foreclosure?

Foreclosed properties can be a great deal for homebuyers, whether they're planning to live in the house or rent it out. But they should know the potential pitfalls.