HellerCommaA / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Bug in com.trilead.ssh2.StreamGobbler #636

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
All devices

What firmware version are you running on the device?
All firmware

What steps will reproduce the problem?
1. Run any script and check log

What is the expected output? What do you see instead?
Log is not present or truncated.

What version of the product are you using? On what operating system?
All versions.

Please provide any additional information below.
I have traced the bug to com.trilead.ssh2.StreamGobbler. The code does not 
write what is remaining in the buffer when the stream is closed. This results 
in missing log text (for long logs) or empty log file (for short logs). I am 
sure it is simple to fix. Please let me know if you need any help.

Original issue reported on code.google.com by adamli...@gmail.com on 25 Jun 2012 at 8:37