Giants third baseman Evan Longoria sustained a fracture to his fifth metacarpal on a pitch against the Marlins.