summaryrefslogtreecommitdiff
path: root/usr.bin/finger/sprint.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-07-31 00:24:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-07-31 00:24:15 +0000
commit1c735ccd758b440a4e17bc2b6bf406deb6d3a940 (patch)
treeb7f0f84e1c46843b74a04676b47cb4c3ba2ce1f1 /usr.bin/finger/sprint.c
parente406ddef5cb3926a5baff42b644aaa3b6e52fe06 (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