diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-07-31 00:24:15 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-07-31 00:24:15 +0000 |
commit | 1c735ccd758b440a4e17bc2b6bf406deb6d3a940 (patch) | |
tree | b7f0f84e1c46843b74a04676b47cb4c3ba2ce1f1 /usr.bin/finger/sprint.c | |
parent | e406ddef5cb3926a5baff42b644aaa3b6e52fe06 (diff) |
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@
Diffstat (limited to 'usr.bin/finger/sprint.c')
0 files changed, 0 insertions, 0 deletions