Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f0171a92
Commit
f0171a92
authored
Aug 08, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A very small security fix
parent
b1516966
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Docs/manual.texi
Docs/manual.texi
+3
-0
sql/sql_acl.cc
sql/sql_acl.cc
+2
-1
No files found.
Docs/manual.texi
View file @
f0171a92
...
...
@@ -50222,6 +50222,9 @@ each individual 4.0.x release.
@itemize @bullet
@item
Fixed small security bug when old user table is used with 4.0.3 or higher
and user had no global access
@item
Fixed security bug in database hash
@item
Fixed create table from any ITEM_FUNC and reverted a patch for month()
sql/sql_acl.cc
View file @
f0171a92
...
...
@@ -297,7 +297,8 @@ int acl_init(bool dont_read_acl_tables)
user
.
access
|=
REFERENCES_ACL
|
INDEX_ACL
|
ALTER_ACL
;
}
/* Convert old privileges */
user
.
access
|=
LOCK_TABLES_ACL
|
CREATE_TMP_ACL
|
SHOW_DB_ACL
;
if
(
user
.
access
)
user
.
access
|=
LOCK_TABLES_ACL
|
CREATE_TMP_ACL
|
SHOW_DB_ACL
;
if
(
user
.
access
&
FILE_ACL
)
user
.
access
|=
REPL_CLIENT_ACL
|
REPL_SLAVE_ACL
;
if
(
user
.
access
&
PROCESS_ACL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment