Alex Smith completed a 14-yard touchdown pass to Vernon Davis with 9 seconds left just after Drew Brees had put the high-powered Saints ahead, and the resurgent 49ers capitalized on five New Orleans turnovers for a thrilling 36-32 playoff win.