diff options
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 4 |
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); |