smartctl.cpp: Fix possible buffer overflow (#1546).
An overflow of 1-2 bytes occurred only if the '-n' option was specified with an invalid argument. git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5260 4ea69e1a-61f1-4043-bf83-b5c94c648137
Please register or sign in to comment