Security fix (from bugtraq; viktor@dtek.chalmers.se).

This commit is contained in:
jakob 2000-03-03 22:22:37 +00:00
parent 2a525277b7
commit d454676b49

11
net/mtr/patches/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- mtr.c.orig Thu Aug 19 09:42:43 1999
+++ mtr.c Fri Mar 3 23:16:23 2000
@@ -158,7 +158,7 @@
net_preopen_result = net_preopen ();
/* Now drop to user permissions */
- if(seteuid(getuid())) {
+ if(setuid(getuid())) {
printf("mtr: Unable to drop permissions.\n");
exit(1);
}