Crash when using AES_ENCRYPT on empty string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
Server crashes when trying to use AES_ENCRYPT on an empty string.
# uname -a
Linux [hostname] 2.6.32-
# cat /etc/redhat-release
CentOS release 6.3 (Final)
Using Percona-
From mysqld.log:
=================
evp_enc.c(146): OpenSSL internal error, assertion failed: inl > 0
01:13:15 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=102
thread_count=7
connection_count=7
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0xc78bdc0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 2b0e2fdef070 thread_stack 0x30000
/usr/local/
/usr/local/
/lib64/
/lib64/
/lib64/
/lib64/
/lib64/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (c7b3f30): SELECT AES_ENCRYPT(
Connection ID (thread ID): 13
Status: NOT_KILLED
=======
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 37 lines (+15/-3)3 files modifiedPercona-Server/mysql-test/r/percona_bug1201033.result (+3/-0)
Percona-Server/mysql-test/t/percona_bug1201033.test (+5/-0)
Percona-Server/mysys_ssl/my_aes.cc (+7/-3)
description: | updated |
tags: | added: ssl |
tags: | added: 56qual |
tags: | added: upstream |
No crash with 5.6.11-rc60.3, so it seems a recent regression.