mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Fix missing bounds check in string conversion.
Bump version number for security fix release.
This commit is contained in:
parent
1f683a7270
commit
5a0af835cc
2 changed files with 5 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ AC_PREREQ(2.59)
|
|||
# Remember to also update version.c in ndb.
|
||||
# When changing major version number please also check switch statement
|
||||
# in mysqlbinlog::check_master_version().
|
||||
AC_INIT([MariaDB Server], [5.1.44-MariaDB], [], [mysql])
|
||||
AC_INIT([MariaDB Server], [5.1.44a-MariaDB], [], [mysql])
|
||||
AC_CONFIG_SRCDIR([sql/mysqld.cc])
|
||||
AC_CANONICAL_SYSTEM
|
||||
# USTAR format gives us the possibility to store longer path names in
|
||||
|
|
|
|||
|
|
@ -4116,6 +4116,10 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)),
|
|||
{
|
||||
int code;
|
||||
char hex[]= "0123456789abcdef";
|
||||
|
||||
if (s >= e)
|
||||
return MY_CS_TOOSMALL;
|
||||
|
||||
if (wc < 128 && filename_safe_char[wc])
|
||||
{
|
||||
*s= (uchar) wc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue