]> git.pond.sub.org Git - empserver/commit
Reject unexpected redirections:
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Nov 2007 06:04:30 +0000 (06:04 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Nov 2007 06:04:30 +0000 (06:04 +0000)
commitc09d4492046cabf92de68c61aa7fd333cf3bfc84
tree98f164deb1aa150e0dbc9141f9d452ccb20b36b0
parenta29a8f43ab13528302a1d3f0d992a56f577191ed
Reject unexpected redirections:
(redir_authorized): New parameter expected, reject when zero.
(doredir): Pass !redir_fp, do not close it.  Before, an unexpected
redirection silently replaced the existing one.
(dopipe): Pass !redir_fp.  Before, an unexpected redirection silently
replaced the existing one, leaking its FILE.
(doexecute): Pass 1.
src/client/servcmd.c