CVSROOT:        /cvs
Module name:    src
Changes by:     mill...@cvs.openbsd.org 2015/07/30 18:24:14

Modified files:
        usr.bin/patch  : pch.c 

Log message:
Account for newlines in substitution (s///) commands.  Substitution
commands might contain a newline in the replacement pattern (escaped
with a backslash before it), causing patch's understanding of the
state the ed child process is in to diverge from reality. This can
lead to patch unwillingly feeding '!' (execute shell command) lines
to ed.  From Martin Natano.  OK deraadt@

Reply via email to