San Francisco’s first defense allowed three touchdowns and the team committed 10 penalties but the Niners still managed to squeak out their third straight preseason win.
They beat the Oakland Raiders 28-24 as backup quarterback David Carr led a late touchdown drive that gave the Niners the victory.
The Niners put together a 16-play, 80-yard drive to win it. Rookie running back Anthony Dixon scored on third-and-goal from the 1 to give San Francisco the lead with 1:44 remaining.
Frank Gore ran for 58 yards on two carries in his first action of the preseason for the Niners, Alex Smith threw a touchdown pass to Josh Morgan and rookie Phillip Adams scored on an 83-yard punt return as San Francisco remained undefeated in the preseason.
Linebacker Patrick Willis had two tackles behind the line of scrimmage against Darren McFadden and an 11-yard sack against Jason Campbell.
Niners LT Joe Staley (sprained knee) and running back Brian Westbrook (hamstring) are day to day. Niners WR Michael Crabtree did not play because of a stiff neck.