[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php5-odbc broken since 5.4.34-0+deb7u1



Hello,

Since I upgraded php5 in Wheezy to version 5.4.34-0+deb7u1, I get an error 
when running odbc_exec() on a sybase ADS odbc driver.

I get this error:

PHP Fatal error:  Out of memory (allocated 524288) (tried to allocate 
14615584999105259009 bytes) in SybaseClass.php on line 127

The same script runs fine with php5 5.4.4-14+deb7u14.

I believe this is this bug:

https://bugs.php.net/bug.php?id=68014

as the ODBC trace log file reports this error:

[ODBC][15153][1415173266.747009][SQLColAttributes.c][276]
                Entry:
                        Statement = 0x21afca0
                        Column Number = 1
                        Field Identifier = SQL_DESC_OCTET_LENGTH
                        Character Attr = (nil)
                        Buffer Length = 0
                        String Length = (nil)
                        Numeric Attribute = 0x7fff9722a258
[ODBC][15153][1415173266.747025][SQLColAttributes.c][593]
                Exit:[SQL_ERROR]
                DIAG [S0000] e:2142

I tried to test the proposed patch myself but I don't know how to rebuild the 
php5-odbc package alone?

Any suggestion as how to proceed?

Frédéric


Reply to: