[Android] Unguarded read of mProcess
Geoffrey Métais
git at videolan.org
Thu Feb 19 11:09:06 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 19 10:52:45 2015 +0100| [205db98e73fed20dc68750430ef06edbca658511] | committer: Geoffrey Métais
Unguarded read of mProcess
CID #1270663
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=205db98e73fed20dc68750430ef06edbca658511
---
vlc-android/src/org/videolan/vlc/util/Logcat.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/util/Logcat.java b/vlc-android/src/org/videolan/vlc/util/Logcat.java
index de4bcbf..dd37e2e 100644
--- a/vlc-android/src/org/videolan/vlc/util/Logcat.java
+++ b/vlc-android/src/org/videolan/vlc/util/Logcat.java
@@ -52,9 +52,9 @@ public class Logcat implements Runnable {
if (!mRun)
return;
mProcess = Runtime.getRuntime().exec(args);
+ input = new InputStreamReader(
+ mProcess.getInputStream());
}
- input = new InputStreamReader(
- mProcess.getInputStream());
br = new BufferedReader(input);
String line;
More information about the Android
mailing list