@ -1818,8 +1818,15 @@ function validateUIDList(uids, noThrow) {
return err;
else
throw err;
} else if (typeof uids[i] !== 'number')
} else if (intval <= 0) {
var err = new Error('UID/seqno must be greater than zero');
if (noThrow)
} else if (typeof uids[i] !== 'number') {
uids[i] = intval;
}