summaryrefslogtreecommitdiff
path: root/sapi/apache/php_apache.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-28 13:30:25 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-28 13:30:25 +0000
commit46a6bd7f9dec644e838371a15ff89fcf4f8c606f (patch)
treececfab38e7fe55d0f7c491c2e6f30392efbe77d8 /sapi/apache/php_apache.c
parent112462d102735013c74f519f9c41c6b988d7eb18 (diff)
downloadphp-git-46a6bd7f9dec644e838371a15ff89fcf4f8c606f.tar.gz
MFH
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r--sapi/apache/php_apache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c
index 9db0a94898..154f7a1901 100644
--- a/sapi/apache/php_apache.c
+++ b/sapi/apache/php_apache.c
@@ -235,9 +235,9 @@ PHP_MINFO_FUNCTION(apache)
if ((p = strrchr(name, '.'))) {
*p='\0'; /* Cut off ugly .c extensions on module names */
}
- strcat(modulenames, name);
+ strlcat(modulenames, name, sizeof(modulenames));
if (modp->next) {
- strcat(modulenames, ", ");
+ strlcat(modulenames, ", ", sizeof(modulenames));
}
}
php_info_print_table_row(2, "Loaded Modules", modulenames);