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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user