Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0, 1.0.1
-
Fix Version/s: 1.0.3
-
Component/s: None
-
Labels:None
Description
Hi!
I've discovered a bug in util.RecordingInputStream.java where buffer overflow is a almost guarantee.
The method RecordingInputStream.read() reads from the underlying inputstream and stores the read bytes into an array.
Unfortunately the array is fixed size at 1024 bytes and sometimes the amount of data exceeds this.
Enclosed is a patch that will resize the array if it becomes full.
cheers
/Erik
Erik Svensson
Software Architect