apedec: do not set s->samples until after validation.