Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/gnu/dist/sendmail/smrsh Pull up revision 1.8 (requested...



details:   https://anonhg.NetBSD.org/src/rev/ff4240083ab5
branches:  netbsd-1-5
changeset: 492803:ff4240083ab5
user:      he <he%NetBSD.org@localhost>
date:      Wed Feb 20 23:12:56 2002 +0000

description:
Pull up revision 1.8 (requested by itojun):
  Upgrade to sendmail version 8.11.6.

diffstat:

 gnu/dist/sendmail/smrsh/smrsh.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 65316b77024d -r ff4240083ab5 gnu/dist/sendmail/smrsh/smrsh.c
--- a/gnu/dist/sendmail/smrsh/smrsh.c   Wed Feb 20 23:12:54 2002 +0000
+++ b/gnu/dist/sendmail/smrsh/smrsh.c   Wed Feb 20 23:12:56 2002 +0000
@@ -21,7 +21,7 @@
 #endif /* ! lint */
 
 #ifndef lint
-static char id[] = "@(#)Id: smrsh.c,v 8.31.4.8 2001/01/22 19:00:26 gshapiro Exp";
+static char id[] = "@(#)Id: smrsh.c,v 8.31.4.9 2001/04/24 04:11:51 ca Exp";
 #endif /* ! lint */
 
 /*
@@ -173,7 +173,6 @@
        */
 
        prg = argv[0];
-       par = argv[2];
 
        if (argc != 3 || strcmp(argv[1], "-c") != 0)
        {
@@ -184,6 +183,8 @@
                exit(EX_USAGE);
        }
 
+       par = argv[2];
+
        /*
        **  Disallow special shell syntax.  This is overly restrictive,
        **  but it should shut down all attacks.



Home | Main Index | Thread Index | Old Index