commit | 5fd5bfe942a03a2a0f8b55e78138e5ca7d578c6b | [log] [tgz] |
---|---|---|
author | Bjorn Bringert <bringert@android.com> | Fri Jan 29 12:11:30 2010 +0000 |
committer | Bjorn Bringert <bringert@android.com> | Fri Jan 29 12:29:41 2010 +0000 |
tree | b2ed5440a50415eb8945387125c631440953b8d2 | |
parent | 784d53e79bab67e6b08b4bfc9a2dc75cfcba9772 [diff] |
Fix StringIndexOutOfBoundsException in PackageManagerService The method packageManagerService.getNextCodePath(String oldCodePath, String prefix, String suffix) threw StringIndexOutOfBoundsException if oldCodePath does not contain prefix, and prefix is longer than oldCodePath, or if the preix and suffix overlap. Fixes http://b/issue?id=2404232 Change-Id: Ib8abb16f8bfd08f607476d9289f46d170c43a076