CRC32CalculatorStream CanSeek property flaw


The CanSeek- property of the CRC32CalculatorStream returns the property of it's innerstream, although the Seek- and Position Set methods throw an Exception. This means that the CanSeek may incorrectly return True.
It can be easily worked around by overriding the CanSeek in a derived class, but it took me a while to discover the cause of the exceptions I ran into. You may want to adjust this.
Closed Jun 13, 2011 at 9:27 PM by Cheeso
fixed in changeset 79066. First binary: v1.9.1.6


Cheeso wrote Jun 13, 2011 at 9:25 PM

Correct, good catch. Thanks for the bug.

wrote Jun 13, 2011 at 9:27 PM

wrote Feb 22, 2013 at 1:43 AM

wrote May 16, 2013 at 12:31 PM