fix previous security patch

This commit is contained in:
deraadt 1993-12-25 02:54:36 +00:00
parent fa397dcb09
commit 8b5553a3e7
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#ifndef lint
static char rcsid[] = "$Id: crontab.c,v 1.7 1993/12/18 02:42:17 cgd Exp $";
static char rcsid[] = "$Id: crontab.c,v 1.8 1993/12/25 02:54:36 deraadt Exp $";
#endif /* not lint */
#define MAIN_PROGRAM
@ -178,7 +178,7 @@ parse_args(argc, argv)
perror(Filename);
exit(ERROR_EXIT);
}
setreuid(getuid(), geteuid());
setreuid(geteuid(), getuid());
}
}