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

Bug#289464: solved



reassign 289464 webmin
severity 289464 grave
tags 285762 +woody
merge 289464 285762
tags 285762 +patch
thanks

Looks like this was an end-of-a-long-night security "fix" ...

--- /tmp/web-lib.pl.orig	Sat Jan 15 14:20:55 2005
+++ /usr/share/webmin/web-lib.pl	Sat Jan 15 14:10:48 2005
@@ -95,7 +95,7 @@
		     "/tmp/.webmin";
 while($tries++ < 10) {
    local @st = lstat($tmp_dir);
-	exit(0) if ($st[4] == $< && (-d _) && ($st[2] & 0777) == 0755);
+	last if ($st[4] == $< && (-d _) && ($st[2] & 0777) == 0755);
    if (@st) {
	unlink($tmp_dir) || rmdir($tmp_dir) ||
	    system("/bin/rm -rf ".quotemeta($tmp_dir));


-- 
Secure email, spread GPG, clearsign all mail. http://www.gnupg.org
.
< hjw> statistics are like a bikini, what they reveal is suggestive, 
what they conceal is vital.

Attachment: signature.asc
Description: Digital signature


Reply to: