Bug #31069 crash in 'sounds like'
| Submitted: | 17 Sep 2007 21:48 | Modified: | 23 Oct 2007 0:07 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Charsets | Severity: | S2 (Serious) |
| Version: | 5.0.50,5.1.23BK | OS: | Any |
| Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[17 Sep 2007 21:48]
Shane Bester
[18 Sep 2007 3:57]
Shane Bester
maybe same underlying cause as bug #31070 "crash during conversion of charsets"
[18 Sep 2007 4:02]
Shane Bester
---------------------------------
testcase1
---------------------------------
drop table if exists `t1`;
create table `t1` (`col001` set('a') charset gb2312 collate gb2312_bin not null )engine=myisam;
insert into `t1` values (),();
select col001 sounds like col001 from t1;
[23 Sep 2007 6:21]
Shane Bester
could be the same cause as the more generic bug #31070 "crash during conversion of charsets" .
[3 Oct 2007 6:42]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/34801 ChangeSet@1.2685, 2007-10-03 11:42:44+05:00, ramil@mysql.com +11 -0 Fix for bug #31069: crash in 'sounds like' and for bug #31070: crash during conversion of charsets Problem: passing a 0 byte length string to some my_mb_wc_XXX() functions leads to server crash due to improper argument check. Fix: properly check arguments passed to my_mb_wc_XXX() functions.
[3 Oct 2007 7:58]
Alexander Barkov
http://lists.mysql.com/commits/34801 is ok to push
[4 Oct 2007 5:20]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/34864 ChangeSet@1.2685, 2007-10-04 10:20:00+05:00, ramil@mysql.com +11 -0 Fix for bug #31069: crash in 'sounds like' and for bug #31070: crash during conversion of charsets Problem: passing a 0 byte length string to some my_mb_wc_XXX() functions leads to server crash due to improper argument check. Fix: properly check arguments passed to my_mb_wc_XXX() functions.
[18 Oct 2007 21:35]
Bugs System
Pushed into 5.1.23-beta
[18 Oct 2007 21:36]
Bugs System
Pushed into 5.0.52
[18 Oct 2007 21:37]
Bugs System
Pushed into 4.1.24
[23 Oct 2007 0:07]
Paul DuBois
Noted in 4.1.24, 5.0.52, 5.1.23 changelogs. Internal conversion routines could fail for several multi-byte character sets (big5, cp932, euckr, gb2312, sjis) for empty strings or during evaluation of SOUNDS LIKE.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.044 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.