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
5a0af835
Commit
5a0af835
authored
Apr 29, 2010
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing bounds check in string conversion.
Bump version number for security fix release.
parent
1f683a72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
configure.in
configure.in
+1
-1
strings/ctype-utf8.c
strings/ctype-utf8.c
+4
-0
No files found.
configure.in
View file @
5a0af835
...
@@ -7,7 +7,7 @@ AC_PREREQ(2.59)
...
@@ -7,7 +7,7 @@ AC_PREREQ(2.59)
# Remember to also update version.c in ndb.
# Remember to also update version.c in ndb.
# When changing major version number please also check switch statement
# When changing major version number please also check switch statement
# in mysqlbinlog::check_master_version().
# in mysqlbinlog::check_master_version().
AC_INIT
([
MariaDB Server],
[
5.1.44-MariaDB],
[]
,
[
mysql]
)
AC_INIT
([
MariaDB Server],
[
5.1.44
a
-MariaDB],
[]
,
[
mysql]
)
AC_CONFIG_SRCDIR
([
sql/mysqld.cc]
)
AC_CONFIG_SRCDIR
([
sql/mysqld.cc]
)
AC_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
# USTAR format gives us the possibility to store longer path names in
# USTAR format gives us the possibility to store longer path names in
...
...
strings/ctype-utf8.c
View file @
5a0af835
...
@@ -4116,6 +4116,10 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)),
...
@@ -4116,6 +4116,10 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)),
{
{
int
code
;
int
code
;
char
hex
[]
=
"0123456789abcdef"
;
char
hex
[]
=
"0123456789abcdef"
;
if
(
s
>=
e
)
return
MY_CS_TOOSMALL
;
if
(
wc
<
128
&&
filename_safe_char
[
wc
])
if
(
wc
<
128
&&
filename_safe_char
[
wc
])
{
{
*
s
=
(
uchar
)
wc
;
*
s
=
(
uchar
)
wc
;
...
...
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