Kyle Evans 4835edfa0d patch(1): Don't overrun line buffer in some cases
Patches like file.txt attached to PR 190195 with a final line formed
like ">(EOL)" could cause a copy past the end of the current line buffer. In the
case of PR 191641, this caused a duplicate line to be copied into the resulting
file.

Instead of running past the end, treat it as if it were a blank line.

PR:		191641
Reviewed by:	cem, emaste, pfg
Approved by:	emaste (mentor)
Differential Revision:	https://reviews.freebsd.org/D12609
2017-10-09 14:50:02 +00:00
..
2016-07-30 06:32:18 +00:00
2017-02-28 23:42:47 +00:00
2017-07-24 04:38:05 +00:00
2017-10-01 00:40:23 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-01-04 16:24:40 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-10-01 00:40:23 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-08-03 17:43:26 +00:00
2016-01-27 00:03:43 +00:00
2017-03-12 18:58:44 +00:00
2017-06-23 20:21:53 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-06 08:27:19 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-03-29 11:56:00 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-09 01:48:23 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-09-15 22:55:15 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-05-09 01:48:23 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-05-09 01:48:23 +00:00
2017-06-02 20:25:25 +00:00
2017-08-07 14:09:57 +00:00
2017-02-28 23:42:47 +00:00
2017-05-05 14:33:39 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-07-31 19:34:38 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-08-12 15:51:46 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-05-17 12:52:31 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2016-07-09 04:56:28 +00:00
2017-02-11 23:45:50 +00:00
2017-05-09 01:48:23 +00:00
2017-06-04 02:36:37 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-06-01 15:03:43 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-09-09 06:24:21 +00:00
2017-02-28 23:42:47 +00:00
2017-10-01 00:40:23 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-09-05 07:46:45 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2015-12-03 14:32:54 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-07-27 14:34:57 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-19 19:55:38 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-08-07 14:09:57 +00:00
2017-08-03 15:47:42 +00:00
2017-06-16 06:29:21 +00:00
2017-06-16 06:29:21 +00:00
2017-02-28 23:42:47 +00:00
2017-03-12 18:58:44 +00:00
2017-03-12 18:58:44 +00:00
2017-06-13 16:19:32 +00:00
2015-09-03 07:18:52 +00:00
2015-09-03 07:18:52 +00:00
2017-03-12 18:58:44 +00:00
2017-10-06 08:43:14 +00:00