nv_validate
if (nv_validate(nv, &extra) == -1) {
if (nv_validate(nv, NULL) == -1) {
int nv_validate(struct nv *nv, size_t *extrap);