1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Make master key unreadable to others (bug #410)

This commit is contained in:
Jakub Vrana
2014-06-26 13:22:46 +02:00
parent 06a2d87e55
commit b87d43fdcd
2 changed files with 2 additions and 0 deletions

View File

@@ -1065,6 +1065,7 @@ function password_file($create) {
if ($return || !$create) {
return $return;
}
umask(066);
$fp = @fopen($filename, "w"); // @ - can have insufficient rights //! is not atomic
if ($fp) {
$return = rand_string();

View File

@@ -1,6 +1,7 @@
Adminer 4.1.1-dev:
Fix reading routine column collations
Unlock session in alter database
Make master key unreadable to others (bug #410)
MySQL: Use utf8mb4 if available
Adminer 4.1.0 (released 2014-04-18)