cvs: php-src(PHP_5_2) /sapi/isapi php5isapi.c

From: Date: Fri, 23 Feb 2007 22:08:31 +0000
Subject: cvs: php-src(PHP_5_2) /sapi/isapi php5isapi.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43236@lists.php.net to get a copy of this message
stas Fri Feb 23 22:08:31 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/sapi/isapi php5isapi.c Log: use strlcat http://cvs.php.net/viewvc.cgi/php-src/sapi/isapi/php5isapi.c?r1=1.8.2.2.2.2&r2=1.8.2.2.2.3&diff_format=u Index: php-src/sapi/isapi/php5isapi.c diff -u php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.2 php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.3 --- php-src/sapi/isapi/php5isapi.c:1.8.2.2.2.2 Fri Feb 23 22:05:46 2007 +++ php-src/sapi/isapi/php5isapi.c Fri Feb 23 22:08:31 2007 @@ -16,7 +16,7 @@ | Ben Mansell <ben@zeus.com> (Zeus Support) | +----------------------------------------------------------------------+ */ -/* $Id: php5isapi.c,v 1.8.2.2.2.2 2007/02/23 22:05:46 stas Exp $ */ +/* $Id: php5isapi.c,v 1.8.2.2.2.3 2007/02/23 22:08:31 stas Exp $ */ #include "php.h" #include <httpext.h> @@ -391,7 +391,7 @@ if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_C", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { strlcat( static_cons_buf, static_variable_buf, ISAPI_SERVER_VAR_BUF_SIZE); } - strcat( static_cons_buf, "/ST=" ); + strlcat( static_cons_buf, "/ST=", ISAPI_SERVER_VAR_BUF_SIZE); variable_len = ISAPI_SERVER_VAR_BUF_SIZE; if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_ST", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { strlcat( static_cons_buf, static_variable_buf, ISAPI_SERVER_VAR_BUF_SIZE ); @@ -403,7 +403,7 @@ if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_I_C", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { strlcat( static_cons_buf, static_variable_buf, ISAPI_SERVER_VAR_BUF_SIZE ); } - strcat( static_cons_buf, "/ST=" ); + strlcat( static_cons_buf, "/ST=", ISAPI_SERVER_VAR_BUF_SIZE); variable_len = ISAPI_SERVER_VAR_BUF_SIZE; if( lpECB->GetServerVariable( lpECB->ConnID, "SSL_CLIENT_I_ST", static_variable_buf, &variable_len ) && static_variable_buf[0] ) { strlcat( static_cons_buf, static_variable_buf, ISAPI_SERVER_VAR_BUF_SIZE );

« previous php.cvs (#43236) next »