commit | ba31d3a88c8c76ec3c76d9a91373fa24e64797cd | [log] [download] |
---|---|---|
author | nicm <nicm> | Sun Jun 03 10:17:30 2018 +0000 |
committer | nicm <nicm> | Sun Jun 03 10:17:30 2018 +0000 |
tree | 16feaa8cc1487d35fb50ab8212971c049ebe1f1c | |
parent | d1f5142daba11baf77f7ec1753b5a660585e96f9 [diff] |
Increment the lines counter when skipping a line to avoid an infinite loop, and fix a check to avoid a potential out-of-bounds access. Problem reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue 1352. Also a man page fix request by jmc@.