Permalink
Browse files

front: Handle crash in ZipFile instantiation for corrupt zip files

  • Loading branch information...
paulscode committed Jan 18, 2015
1 parent cbf2e50 commit 8c69c17a46a0257e5fb517a916b3210d43c78460
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/paulscode/android/mupen64plusae/task/CacheRomInfoTask.java
@@ -176,6 +176,10 @@ else if( header.isZip && mSearchZips )
{
Log.w( "CacheRomInfoTask", e );
}
catch( ArrayIndexOutOfBoundsException e )
{
Log.w( "CacheRomInfoTask", e );
}
}
mProgress.incrementProgress( 1 );
}
@@ -395,4 +399,4 @@ private Throwable downloadFile( String sourceUrl, String destPath )
}
}
}
}
}

0 comments on commit 8c69c17

Please sign in to comment.