SVNews r324431

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-09 14:50:02 - r324431 by kevans (kevans)

Complete list of files affected by revision r324431:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/usr.bin/patch/pch.c  

Commit message:

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

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:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 5 ms, 1 file printed. Current time is 2018-03-21 22:03:23. All times are in UTC/GMT.