Memory leak in mysql exploitable by anyone that can read two tables with sufficient rows.

Solution Verified - Updated -

Issue

  • Dependent subqueries like :

      SELECT COUNT(*) FROM t1, t2 WHERE t2.b IN (SELECT DISTINCT t2.b FROM t2 WHERE t2.b = t1.a)
    

caused a memory leak proportional to the number of outer rows.

Environment

  • Red Hat Enterprise Linux 5.5

  • mysql-server-5.0.77-4.el5_5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.