Bug #15248 Memory allocation bug in SQLDriverConnect
Submitted: 25 Nov 2005 16:15 Modified: 8 Mar 2007 1:25
Reporter: Stéphane Donzé Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51.12 OS:Linux (Linux (32 and 64))
Assigned to: Bogdan Degtyariov CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[25 Nov 2005 16:16] Stéphane Donzé
First valgrind output

Attachment: exa.3log.652 (application/octet-stream, text), 11.48 KiB.

[25 Nov 2005 16:17] Stéphane Donzé
Second valgrind output (after changing the login/password in the connection string)

Attachment: exa.3log.1431 (application/octet-stream, text), 11.67 KiB.

[26 Nov 2005 8:23] Vasily Kishkin
Test case

Attachment: test.c (text/plain), 5.28 KiB.

[28 Nov 2005 22:40] Stéphane Donzé
Test case producing a SEGV in strcasecmp

Attachment: test2.c (application/octet-stream, text), 5.21 KiB.

[28 Nov 2005 22:42] Stéphane Donzé
valgrind output for the test case

Attachment: sqltest.3log.5294 (application/octet-stream, text), 5.57 KiB.