The San Francisco 49ers have signed safety C.J. Spillman to a three-year contract extension through the 2014 season, another move to keep the secondary intact for the reigning NFC West champions.