diff options
Diffstat (limited to 'sapi/litespeed/lsapi_main.c')
-rw-r--r-- | sapi/litespeed/lsapi_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c index b3c5f9fd3a..45fb9677a6 100644 --- a/sapi/litespeed/lsapi_main.c +++ b/sapi/litespeed/lsapi_main.c @@ -381,6 +381,8 @@ static void sapi_lsapi_log_message(char *message, int syslog_type_int) { snprintf( buf, 8191, "%s\n", message ); message = buf; + if (len > 8191) + len = 8191; ++len; } LSAPI_Write_Stderr( message, len); @@ -464,7 +466,7 @@ static int sapi_lsapi_activate() static sapi_module_struct lsapi_sapi_module = { "litespeed", - "LiteSpeed V7.1", + "LiteSpeed V7.2", php_lsapi_startup, /* startup */ php_module_shutdown_wrapper, /* shutdown */ |