Klaus Demo nginx / b3ac4fb
fix compression pointer for big (>255) DNS responses Igor Sysoev 13 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
18651865 }
18661866
18671867 if (n & 0xc0) {
1868 n = (n & 0x3f << 8) + *p;
1868 n = ((n & 0x3f) << 8) + *p;
18691869 p = &buf[n];
18701870
18711871 } else {
19151915 }
19161916
19171917 } else {
1918 n = (n & 0x3f << 8) + *src;
1918 n = ((n & 0x3f) << 8) + *src;
19191919 src = &buf[n];
19201920
19211921 n = *src++;