1

Closed

CRC32CalculatorStream CanSeek property flaw

description

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

comments

Cheeso wrote Jun 13, 2011 at 9:25 PM

Correct, good catch. Thanks for the bug.