Bug #36275 SQLTables buffer overrun
Submitted: 23 Apr 2008 8:08 Modified: 15 Jul 2008 12:33
Reporter: Patrick Frants Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51.25.00 OS:Windows (XP)
Assigned to: Jim Winstead CPU Architecture:Any
Tags: buffer overrun, SQLTables

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:

[28 Apr 2008 17:10] Lawrenty Novitsky
Made buffer allocation dynamic for the one, described in bug, and for the rest I found can be overrun.

Attachment: bug36275.diff (application/octet-stream, text), 14.20 KiB.

[7 May 2008 15:07] Jim Winstead
Remove buggy helper functions in catalog.c and fix treatment of identifiers as wildcards

Attachment: bug36275.patch (text/plain), 27.70 KiB.

[10 Jul 2008 17:43] Jim Winstead
Updated patch including test case and removing handling of  SQL_ALL_* as strings

Attachment: bug36275.patch (text/plain), 30.60 KiB.