OCI8 extension multibyte issue (bug #17381)
| From: | Moriyoshi Koizumi | Date: | Tue, 01 Oct 2002 20:12:48 +0000 |
| Subject: | OCI8 extension multibyte issue (bug #17381) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88821@lists.php.net to get a copy of this message | ||
Hello,
Although I have no Oracle-ready machines to confirm and I'm not perfectly
sure about this, the meaning of the amtp parameter for OCILobGetRead()
used by oci_loadlob() in oci8.c still seems to be mistaken and it may lead
to segfault(due to buf-over-run) or produce unexpectedly shortened strings.
The bug is reported as http://bugs.php.net/bug.php?id=17381, and I heard
quite a few complaints about the behaviour.
Just as far as I read the OCI documentation, OCILobGetLength() and
OCILobGetRead() take it differently by the client's NLS setting.
Is there anyone working for this out there?
Regards,
--
Moriyoshi Koizumi