Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
From: alexander dot stix at erwinmueller dot de Date: Tue, 01 Dec 2020 19:50:49 +0000 Subject: Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters() References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-230776@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79270&edit=1
ID: 79270
Comment by: alexander dot stix at erwinmueller dot de
Reported by: martin dot aschenbrenner at erwinmueller dot de
Summary: segfault in libodbc.so.2.0.0 with
ReflectionFunction($functio)->getParameters()
Status: Open
Type: Bug
Package: PDO ODBC
Operating System: Linux Ubuntu 18.04 x86_64
PHP Version: 7.3.14
Block user comment: N
Private report: N
New Comment:
I'm sorry, I thought you meant to come back with another solution.
The improved PR does in fact solve the Issue.
I was able to reproduce the bug with the MySQL driver and the IBM i Access ODBC driver, so it would
either be a somewhat common driver bug or a bug in unixODBC?
Previous Comments:
------------------------------------------------------------------------
[2020-11-30 14:51:43] cmb@php.net
Hmm, no feedback on the improved PR, which is an ugly hack anyway;
a "clean" solution would require to store pointers to allocated
handles in the db handles, what is not an option for any stable
version for BC reasons. And actually I tend to regard this as
upstream bug (driver or driver manager).
------------------------------------------------------------------------
[2020-11-10 17:25:27] cmb@php.net
Ugh, yeah, that patch can't work. I'll have a closer look.
------------------------------------------------------------------------
[2020-11-10 01:18:25] alexander dot stix at erwinmueller dot de
The attached patch didn't fix the issue.
------------------------------------------------------------------------
[2020-11-09 14:17:20] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #79270: segfault in libodbc.so.2.0.0
On GitHub: https://github.com/php/php-src/pull/6413
Patch: https://github.com/php/php-src/pull/6413.patch
------------------------------------------------------------------------
[2020-11-05 11:48:20] cmb@php.net
Could you please try the attached bug79270.patch?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79270
--
Edit this bug report at https://bugs.php.net/bug.php?id=79270&edit=1
Thread (19 messages)
- Bug #79270 [Opn->Fbk]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Fbk->NoF]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [NoF->Opn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Asn->Fbk]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Fbk->Opn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Opn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Opn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [PATCH]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Asn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [PATCH]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Asn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Asn->Opn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
- Bug #79270 [Com]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()
| « previous | php.bugs (#230776) | next » |
|---|