mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
In emacsclient, protect the xmitted string from fprintf expansion (Dan Nicolaescu).
lib-src/emacsclient.c (quote_argument): Protect the string from fprintf expansion (submitted by Dan Nicolaescu). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-147
This commit is contained in:
parent
a9711057f0
commit
6087973173
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ quote_argument (str, stream)
|
||||||
}
|
}
|
||||||
*q++ = 0;
|
*q++ = 0;
|
||||||
|
|
||||||
fprintf (stream, copy);
|
fprintf (stream, "%s", copy);
|
||||||
|
|
||||||
free (copy);
|
free (copy);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue