diff options
author | Stefan Esser <sesser@php.net> | 2004-05-28 11:33:23 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2004-05-28 11:33:23 +0000 |
commit | 2e3b9ec2783e67f5df165b03fff7333b6845e4a2 (patch) | |
tree | 9adb95acf9694e448ff7b268e2230408b5bb271c /ext/standard/url.c | |
parent | 27344aaed6f45eb339ca240327d5ffef437970ea (diff) | |
download | php-git-2e3b9ec2783e67f5df165b03fff7333b6845e4a2.tar.gz |
Fixed off-by-one in php_parse_url.
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r-- | ext/standard/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c index 1fbda1cf68..aac6964c1c 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -86,7 +86,7 @@ PHPAPI char *php_replace_controlchars(char *str) PHPAPI php_url *php_url_parse(char const *str) { int length = strlen(str); - char port_buf[5]; + char port_buf[6]; php_url *ret = ecalloc(1, sizeof(php_url)); char const *s, *e, *p, *pp, *ue; |