>Description:
        Server hang when trying to test field=AES_DECRYPT(filed, key)
        in case when filed contain garbage.
>How-To-Repeat:
        
        CREATE TABLE  atest(
                id int(11) NOT NULL auto_increment,
                tmp text NOT NULL,
                KEY id (id)
        ) TYPE=MyISAM;

        INSERT INTO atest VALUES (1, 'a545f661efdd1fb66fdee3aab79945bf');

        SELECT * FROM atest WHERE  tmp=AES_DECRYPT(tmp,"password");
        
        (server crashed)
        mysql>
        Number of processes running now: 0
        020912 15:07:48  mysqld restarted

>Fix:
       Unknown
>Submitter-Id: 
>Originator: Sergey S. Kostyliov
>Organization:
        eHouse holding (http://www.ehouse.ru/)
>MySQL support: none
>Synopsis:      Server hang with AES_DECRYPT()
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-4.0.4-beta (Source distribution)
>Server: /usr/bin/mysqladmin  Ver 8.37 Distrib 4.0.4-beta, for pc-linux-gnu on 
i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          4.0.4-beta
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/lib/mysql/mysql.sock
Uptime:                 7 min 44 sec

Threads: 8  Questions: 10647  Slow queries: 0  Opens: 18  Flush tables: 1  
Open tables: 12  Queries per second avg: 22.946
>Environment:
System: Linux db.lamport.msk.ru 2.4.19-pre5aa1 #3 ðÎÄ áÐÒ 1 20:57:05 MSD 2002 
i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake
/usr/local/gcc/bin/gcc -v
Reading specs from 
/usr/local/gcc/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /var/tmp/gcc-3.2/configure --prefix=/usr/local/gcc-3.2 
--enable-threads=posix --enable-languages=c++,c
Thread model: posix
gcc version 3.2

Compilation info: CC='/usr/local/gcc/bin/gcc'  CFLAGS='-O4 -march=pentium3 
-mcpu=pentium3 -msse -pipe'  CXX='/usr/local/gcc/bin/gcc'  CXXFLAGS='-O4 
-march=pentium3 -mcpu=pentium3 -msse -pipe -felide-constructors 
-fno-exceptions -fno-rtti -DUSE_MYSYS_NEW'  LDFLAGS=''
LIBC:
lrwxrwxrwx    1 root     root           13 á×Ç 14 15:30 /lib/libc.so.6 -> 
libc-2.2.4.so
-rwxr-xr-x    1 root     root      1285884 á×Ç  7 16:13 /lib/libc-2.2.4.so
-rw-r--r--    1 root     root     27336078 á×Ç  7 14:56 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 á×Ç  7 14:57 /usr/lib/libc.so
lrwxrwxrwx    1 root     root           10 íÁÊ 26 15:08 /usr/lib/libc-client.a 
-> c-client.a
Configure command: ./configure  --prefix=/usr --libexecdir=/usr/sbin 
--localstatedir=/var/lib/mysql --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-assembler 
--with-mysqld-ldflags=-all-static --with-mysql-user=mysql --with-innodb 
--with-unix-socket-path=/var/lib/mysql/mysql.sock 
--with-extra-charsets=latin1,koi8_ru,cp1251 --enable-thread-safe-client

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to