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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3edbb501
Commit
3edbb501
authored
Aug 07, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for a security flaw in database hash
parent
41b79db6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Docs/manual.texi
Docs/manual.texi
+2
-0
sql/sql_acl.cc
sql/sql_acl.cc
+2
-0
No files found.
Docs/manual.texi
View file @
3edbb501
...
...
@@ -46928,6 +46928,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.52
@itemize @bullet
@item
Fixed a security bug with empty db column in db table
@item
Changed initialisation of @code{RND()} to make it less predicatable.
@item
Fixed problem with @code{GROUP BY} on result with expression that created a
sql/sql_acl.cc
View file @
3edbb501
...
...
@@ -242,6 +242,8 @@ int acl_init(bool dont_read_acl_tables)
ACL_DB
db
;
update_hostname
(
&
db
.
host
,
get_field
(
&
mem
,
table
,
0
));
db
.
db
=
get_field
(
&
mem
,
table
,
1
);
if
(
!
db
.
db
||
!
db
.
db
[
0
])
continue
;
db
.
user
=
get_field
(
&
mem
,
table
,
2
);
db
.
access
=
get_access
(
table
,
3
);
db
.
access
=
fix_rights_for_db
(
db
.
access
);
...
...
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