Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 56662f8135650f8f8f84b2c96c004eb0 > files > 72

php53-5.3.3-24.el5.src.rpm

diff -up php-5.3.3/ext/pdo_odbc/odbc_driver.c.ss_guard php-5.3.3/ext/pdo_odbc/odbc_driver.c
--- php-5.3.3/ext/pdo_odbc/odbc_driver.c.ss_guard	2012-06-28 15:08:51.304337652 +0200
+++ php-5.3.3/ext/pdo_odbc/odbc_driver.c	2012-06-28 15:09:46.741644589 +0200
@@ -114,7 +114,7 @@ void pdo_odbc_error(pdo_dbh_t *dbh, pdo_
 	 * diagnostic records (which can be generated by PRINT statements
 	 * in the query, for instance). */
 	while (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) {
-		char discard_state[5];
+		char discard_state[6];
 		char discard_buf[1024];
 		SQLINTEGER code;
 		rc = SQLGetDiagRec(htype, eh, recno++, discard_state, &code,