Need to finish bound checking and signed/unsigned checking in util::sanitizedinput()