fix ngx_utf8_cpystrn(): it did not fully copy utf-8 string
Igor Sysoev
11 years ago
1 changed file(s) with
1 addition(s)
and
3 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-3
src/core/ngx_string.c
less
more
1238
1238
break;
1239
1239
}
1240
1240
1241
len--;
1242
1243
1241
while (src < next) {
1244
*++dst = *++src;
1242
*dst++ = *src++;
1245
1243
len--;
1246
1244
}
1247
1245
}