John Baldwin ff38047b0c Fix a buffer overrun.
getln() returns 'len' valid characters.  line[len] is out of bounds.

Reported by:	CHERI
Reviewed by:	brooks
Obtained from:	CheriBSD
MFC after:	2 weeks
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D26197
2020-09-01 16:20:42 +00:00
..
2019-12-28 02:11:41 +00:00
2020-04-30 22:08:40 +00:00
2020-08-31 21:55:25 +00:00
2018-10-20 22:39:35 +00:00
2020-04-30 22:08:40 +00:00
2017-12-08 17:52:53 +00:00
2019-09-02 01:55:55 +00:00
2020-03-19 06:33:06 +00:00
2020-04-30 22:08:40 +00:00
2020-04-30 22:08:40 +00:00
2020-05-19 11:05:27 +00:00
2020-09-01 16:20:42 +00:00
2020-07-19 23:56:19 +00:00
2019-12-11 17:37:53 +00:00