﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
379	the bug of the function ngx_cpystrn() in the file of ngx_string.c	Wei Wang		"The function '''ngx_cpystrn(u_char *dst, u_char *src, n)''' is to copy '''n''' characters from ''src'' to ''dst''. 
But it does not  copy the last character because of the statement '''while (--n){}'''. 
If ''n=1'', then ''--n=0'', and then the while loop does not execute, and then the last character of n does not copy to the ''dst''."	defect	closed	major	1.5	nginx-core	1.3.x	invalid	ngx_cpystrn		SMP Wed Jun 23 14:47:10 CST 2010 x86_64 x86_64 x86_64 GNU/Linux	"nginx version: nginx/1.3.11
built by gcc 3.4.5 20051201 (Red Hat 3.4.5-2)"
