Subject Re: Problem with FBBlob
Author Roman Rokytskyy
> for some reason that I still must unterstand, my code tries to store
> an empty blob. But this is not the point. Debugging the application I
> saw FBBlob.copyStream and noticed a potential problem: if (in the
> while loop) chunk is < 0 (as in my case), this results in an infinite
> loop as there is no check.

One observation: if you would specify length correctly, it would work.
Endless loop occurs only when specified length is greater than number
of bytes in the stream.

But thanks for the report again. Tested and fixed.