提交 4f6658b9 编写于 作者: M Michael Forney 提交者: Rich Felker

Fix dn_expand pointer following

上级 3fd1acbf
......@@ -10,7 +10,7 @@ int __dn_expand(const unsigned char *base, const unsigned char *end, const unsig
for (;;) {
if (*p & 0xc0) {
if (p+1==end) return -1;
j = (p[0]&1) | p[1];
j = ((p[0] & 0x3f) << 8) | p[1];
if (len < 0) len = p+2-src;
if (j >= end-base) return -1;
p = base+j;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册