Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
:
zpanel
>
zpphp
> php-5.3.3-pdo-overflow.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-5.3.3-pdo-overflow.patch of Package zpphp
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,