提交 e02912fb 编写于 作者: H henryjen

8156478: 3 Buffer overrun defect groups in jexec.c

Reviewed-by: ksrini
上级 a1719912
......@@ -331,6 +331,7 @@ const char * isJar(const char * path) {
off_t end = start + xlen;
if (end <= count) {
end -= 4; // make sure there are 4 bytes to read at start
while (start < end) {
off_t xhid = SH(buf, start);
off_t xdlen = SH(buf, start + 2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册