MAXCHKVAL
if (chkNumber < 0 || chkNumber > MAXCHKVAL)
(uchar_t *)calloc(1, idivceil(MAXCHKVAL, NBBY))) == NULL) {
for (i = 1; i <= MAXCHKVAL; i++) {
if (i <= MAXCHKVAL) {