Bug #81382 [NEW]: OUT-Variables result in ORA-03131
From: php-oci8 dot pkoch at dfgh dot net
Operating system: Solaris 11.4 SPARC 64 bigendian
PHP version: 7.4.22
Package: OCI8 related
Bug Type: Bug
Bug description:OUT-Variables result in ORA-03131
Description:
------------
Using Out-Variables results in
ORA-03131: an invalid buffer was provided for the next piece
when oci_execute() is called with PHP-7.4.22 under Solaris 11.4 64bit
SPARC
Bug https://bugs.php.net/bug.php?id=73002 from
2019 seems to deal with
the same problem and provides patches.
Test-Script runs fine with PHP-5.6.37 (both under Solaris 64bit and
Linux 32/64bit). It also has no problems with PHP-7.4.22 under Linux
64bit.
Test script:
---------------
$conn=oci_new_connect("scott","tiger","ORCL");
$stat=oci_parse($conn, "begin :out:='Hello World'; end;");
oci_bind_by_name($stat, ":out", $result, 100);
oci_execute($stat);
print "result=$result\n";
--
Edit bug report at https://bugs.php.net/bug.php?id=81382&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81382&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81382&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81382&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81382&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81382&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81382&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81382&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81382&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81382&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81382&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81382&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81382&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81382&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81382&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81382&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81382&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81382&r=mysqlcfg
Thread (6 messages)
- php-oci8 dot pkoch at dfgh dot net