BoostMultiDex
BoostMultiDex copied to clipboard
BoostMultiDex is a solution for quickly loading multiple dex files on low Android version devices (4.X and below, SDK <21).
在某些设备(比如机顶盒)上,因为制造商名字过长,导致CheckIsSpecHtc方法引起Crash: 修正方法:将brand字符数组长度扩大3倍,并将CheckIsSpecHtc进行异常捕获,避免该方法异常导致整个流程失败。
https://github.com/bytedance/BoostMultiDex/blob/29d4110f28a4bc3571ad336fa2c27c941d185143/boost_multidex/src/main/java/com/bytedance/boost_multidex/OptimizeService.java#L107 Failed to release apkZipFile properly.Most unreleased resource issues result in general software reliability problems. However, if an attacker can intentionally trigger a resource leak, the attacker may be able...
https://github.com/bytedance/BoostMultiDex/blob/29d4110f28a4bc3571ad336fa2c27c941d185143/boost_multidex/src/main/java/com/bytedance/boost_multidex/DexInstallProcessor.java#L26 Try not to use unsafe random numbers, especially when sensitive operations such as checksums are involved.Doing so allows an attacker to control the value used to seed the pseudorandom...
```backtrace: #00 pc 0000000000021b48 /system/lib/libc.so (__futex_syscall3+8) #00 pc 000000000000e8b4 /system/lib/libc.so #00 pc 0000000000052715 /system/lib/libdvm.so (dvmLinearAlloc(Object*, unsigned int)+24) #00 pc 000000000006f47f /system/lib/libdvm.so #00 pc 0000000000068f55 /system/lib/libdvm.so #00 pc 0000000000000214 /dev/ashmem/dalvik-jit-code-cache (deleted)...
I/ActivityManager( 1548): Start proc com.xxx.xxx.tv for activity com.xxx.xxx.tv/com.xxx.xxx.LauncherAlias: pid=2859 uid=10034 gids={50034, 3002, 3003, 1028, 1015, 1023} I/BoostMultiDex( 2859): BoostMultiDex is installing, version is 1.0.1 I/BoostMultiDex( 2859): VM with version 1.6.0...