Further tightened the padlen check to prevent underflow / overflow
2 files changed