Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 654000 - Mysql bug 54488 - crash when using explain and prepared statements with subqueries
Mysql bug 54488 - crash when using explain and prepared statements with subqu...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mysql (Show other bugs)
5.5
x86_64 Linux
high Severity high
: rc
: ---
Assigned To: Tom Lane
qe-baseos-daemons
: Patch
Depends On:
Blocks: 743405
  Show dependency treegraph
 
Reported: 2010-11-16 10:48 EST by Kal McFate
Modified: 2013-07-02 23:33 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-07 23:54:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (1.57 KB, patch)
2010-12-03 16:27 EST, Bryan Mason
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0121 normal SHIPPED_LIVE Low: mysql security and bug fix update 2013-01-08 04:10:21 EST

  None (edit)
Description Kal McFate 2010-11-16 10:48:32 EST
Description of problem:
crash when using explain and prepared statements with subqueries

Version-Release number of selected component (if applicable):
mysql-5.0.77-4.el5_5.4

How reproducible:
drop table if exists `t1`;
create table `t1`(`a` int)engine=myisam;
insert into `t1` values (1),(1);
prepare `stmt` from 'explain 
select 1 from `t1`
where(select(select 1 from `t1` group by `a`))'; 
execute `stmt` ;

 
Actual results:
mysql crashes

Expected results:
should not crash

Additional info:
Please see http://bugs.mysql.com/bug.php?id=54488
Comment 1 Bryan Mason 2010-12-03 13:14:03 EST
I believe the upstream fix for this in MySQL 5.1 is here:

http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.1/revision/3461.1.32
Comment 2 Bryan Mason 2010-12-03 16:27:16 EST
Created attachment 464657 [details]
Proposed patch

Patch backported from upstream (pretty much verbatim -- only the line numbers changed).

Resolve the issue in my testing.
Comment 5 RHEL Product and Program Management 2011-05-31 10:42:52 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
Comment 6 RHEL Product and Program Management 2011-09-22 20:37:21 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
Comment 8 RHEL Product and Program Management 2012-04-19 07:47:53 EDT
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.
Comment 13 errata-xmlrpc 2013-01-07 23:54:27 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0121.html

Note You need to log in before you can comment on or make changes to this bug.