提交 8af595cd 编写于 作者: S superq_sky

Checked the range of packageId.

上级 3f725ee3
......@@ -101,6 +101,9 @@ class VAPlugin extends BasePlugin {
err.append('apply for the value of packageId, please contact with zhengtao@didichuxing.com\n')
throw new InvalidUserDataException(err.toString())
}
if (packageId >= 0x7f || packageId <= 0x01) {
throw new IllegalArgumentException('the packageId must be in [0x02, 0x7E].')
}
String targetHost = virtualApk.targetHost
if (!targetHost) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册