-
Committer:
klm
-
Date:
1998-07-23 22:48:17 UTC
-
Revision ID:
vcs-imports@canonical.com-19980723224817-cy3isfaf2e20nqs7
Take parameters via stdin lines, instead of command line arguments, to
avoid exposing addresses to shell. This avoids both security problems
(and address like `touch /etc/passwd`, as someone on the developers
list warned) and distortion problems (shell metacharacters in
addresses). The protocol is (starting the line count at 1):
line [1]: sender
line [2:n+1]: n recipients
line [n+2]: <empty> - delimiting end of recipients
line [n+3:]: message content