mongodb/mongo-java-driver — pull request #75 by lesnail (2012-05-12 16:52:34+00:00)
Title: JAVA-378 reallocate buffer when changing chunksize of GridFsInputFile

This pull requests relates to an issue reported 47 weeks ago.
If you change the chunksize of an GridFsInputFile to a size greater than the default you will get an IndexOutOfBounds Exception, because the buffer isn't reallocated to fit the size.

BR lesnail