You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Android using more and more APEX files the mount command can return more data than the default read buffer can handle. Calling process.waitFor without reading the buffer first will result in waitFor waiting indefinitely.
Here's an SO post that describes the issue in more detail. I'm open to submitting a pull request, but it might be best to look through the source and find/fix any other instances of this just to be safe.
Processproc = newProcessBuilder().command("mount")
.redirectErrorStream(true).start();
proc.waitFor(); // this needs to be moved to the endInputStreamis = proc.getInputStream();
BufferedReaderr = newBufferedReader(
newInputStreamReader(is, UTF8_CHARSET));
The text was updated successfully, but these errors were encountered:
With Android using more and more APEX files the mount command can return more data than the default read buffer can handle. Calling
process.waitFor
without reading the buffer first will result inwaitFor
waiting indefinitely.Here's an SO post that describes the issue in more detail. I'm open to submitting a pull request, but it might be best to look through the source and find/fix any other instances of this just to be safe.
AndroidTacticalAssaultKit-CIV/takkernel/engine/src/main/java/com/atakmap/coremap/filesystem/FileSystemUtils.java
Line 271 in 22d11cb
The text was updated successfully, but these errors were encountered: