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
d96d2e56
Commit
d96d2e56
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
a3edc742
Changes
2
Show 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 @
d96d2e56
...
@@ -46928,6 +46928,8 @@ not yet 100% confident in this code.
...
@@ -46928,6 +46928,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.52
@appendixsubsec Changes in release 3.23.52
@itemize @bullet
@itemize @bullet
@item
@item
Fixed a security bug with empty db column in db table
@item
Changed initialisation of @code{RND()} to make it less predicatable.
Changed initialisation of @code{RND()} to make it less predicatable.
@item
@item
Fixed problem with @code{GROUP BY} on result with expression that created a
Fixed problem with @code{GROUP BY} on result with expression that created a
sql/sql_acl.cc
View file @
d96d2e56
...
@@ -242,6 +242,8 @@ int acl_init(bool dont_read_acl_tables)
...
@@ -242,6 +242,8 @@ int acl_init(bool dont_read_acl_tables)
ACL_DB
db
;
ACL_DB
db
;
update_hostname
(
&
db
.
host
,
get_field
(
&
mem
,
table
,
0
));
update_hostname
(
&
db
.
host
,
get_field
(
&
mem
,
table
,
0
));
db
.
db
=
get_field
(
&
mem
,
table
,
1
);
db
.
db
=
get_field
(
&
mem
,
table
,
1
);
if
(
!
db
.
db
||
!
db
.
db
[
0
])
continue
;
db
.
user
=
get_field
(
&
mem
,
table
,
2
);
db
.
user
=
get_field
(
&
mem
,
table
,
2
);
db
.
access
=
get_access
(
table
,
3
);
db
.
access
=
get_access
(
table
,
3
);
db
.
access
=
fix_rights_for_db
(
db
.
access
);
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