pktline: Add packet max length validation and some related tests
Although pktsize is now hard limited by scanner buffer, it's better to report the indeed error causing the problem.
And some tests are added to improve test coverage.
Although pktsize is now hard limited by scanner buffer, it's better to report the indeed error causing the problem.
And some tests are added to improve test coverage.