Bug #15846 libmysql: handle-leak in mysql_close with shared memory (fix supplied)
Submitted: 19 Dec 2005 2:36 Modified: 11 Apr 2006 5:27
Reporter: Armin Schöffmann (SCA)
Status: Closed
Category:Client Severity:S2 (Serious)
Version:5.0.16/5.0.18 BK OS:Microsoft Windows (WINXP_PROF_GER SP2)
Assigned to: Bugs System Target Version:

File: Maximum allowed size is 500KB.
Description:
Privacy:

If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-15846.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.

All entries become the exclusive editorial property of Sun Microsystems, Inc.

[20 Dec 2005 1:01] Armin Schöffmann
sample app (dyn. linked to libmysql.dll)

Attachment: MySQLAPITest.exe (application/x-msdos-program, text), 7.00 KiB.

[20 Dec 2005 1:03] Armin Schöffmann
testrun with unpatched lib

Attachment: output1.txt (text/plain), 2.03 KiB.

[20 Dec 2005 1:04] Armin Schöffmann
testrun with patched lib

Attachment: output2.txt (text/plain), 2.03 KiB.

[20 Dec 2005 1:04] Armin Schöffmann
testapp source

Attachment: MySQLAPITest.cpp (text/plain), 1.72 KiB.