Bug #4381 problem with BLOB field in ByteFx
Submitted: 2 Jul 2004 15:00 Modified: 8 Jul 2004 17:14
Reporter: Stephan Wild Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:0.76 OS:Windows (Windows XP)
Assigned to: Reggie Burnett CPU Architecture:Any

[2 Jul 2004 15:00] Stephan Wild
Description:
IndexOutOfBounds Exception when trying to access an BLOB-field with data greater then 300kB.

-> CopyBuffer() method in field.cs

bufIndex = 5
bufLength = 341757
buffer.Length = 341761

long oldIndex = bufIndex;
for (long i=0; i < bufLength; i++)
  newbuf[i] = buffer[ oldIndex++ ];

so it crashes in the for loop!

How to repeat:
Access an Blob Field with data in it greater then 300kB

Suggested fix:
i don't know

maybe check the buffer sizes
[8 Jul 2004 17:14] Reggie Burnett
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html