1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

One more strcpy. (Thanks Stas)

This commit is contained in:
Ilia Alshanetsky
2007-02-22 00:44:08 +00:00
parent 06e5bc9ea2
commit 609ecbfc37
+1 -1
View File
@@ -203,7 +203,7 @@ char *url_adapt(const char *src, size_t srclen, const char *data, size_t *newlen
maxl+=l;
out=realloc(out,maxl);
outp=out+*newlen;
strcpy(outp,p);
strlcpy(outp,p,maxl);
outp+=l;
*newlen+=l;
efree(p);