Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 30 Mar 2003 13:29:38 +0600
From: Boris Kovalenko <boris@...net.ru>
To:  popa3d-users@...ts.openwall.com
Subject: virtual.c another question

Hello!

virtual.c/virtual_userpass
fail = 0;
if (!is_valid_user(user)) {
      user = "INVALID";
      fail = 1;
}
.... many other code

Why to run other code if we already know that user is invalid? Why lstat 
directory and try to open file for this "INVALID" user?

Yours truly,
	Boris

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux - Powered by OpenVZ