Closed hguemar closed 10 years ago
the test works, but indeed, as Kevin said, what is the reason of removing ofile.close();
It's useless since std::ofstream destructor will automatically close the file (RAII), besides note the block to make sure that it's indeed closed when we call chmod.
Integrated
A malicious user could use other users session files since their permissions were 644 by default bugfix #336