lint: limit maximum length of input via scanf
Merge pull request #1687 from N8Fear/invalidscanf

lint: limit maximum length of input via scanf