Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0
-
None
-
None
Description
The method FromNetASCIIInputStream.read(byte[], int, int) may change the length passed to superclass if not doing conversion.
It should probably check _noConversionRequired and call the super-class before recalculating the length.
That is
if (_noConversionRequired) return super.read(buffer, offset, __length);
should be done at the very start of the method.