﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
866	ngx_pstrdup() and ngx_copy() problems	Sem-ym@…		"Hi.

It looks like strings are supposed to finish with '\0' char to be compatible with C strings. So ngx_pstrdup() must allocate and copy len+1, not just len.

ngx_copy() returns different values for different preprocessor conditions.

I don't know how to attach a file here, so patch could be found here: https://github.com/sem-hub/nginx/commit/4f2202ae8f17dfe086420a28e6e08d607528c53a"	defect	closed	minor		nginx-core	1.9.x	invalid	ngx_copy, ngx_pstrdup, stings	sem33@…	any	any
