Bug #79270 [Asn->Opn]: segfault in libodbc.so.2.0.0 with ReflectionFunction($functio)->getParameters()

From: Date: Mon, 30 Nov 2020 14:51:43 +0000
Subject: Bug #79270 [Asn->Opn]: 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-230735@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
 Updated by:         cmb@php.net
 Reported by:        martin dot aschenbrenner at erwinmueller dot de
 Summary:            segfault in libodbc.so.2.0.0 with
                     ReflectionFunction($functio)->getParameters()
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            PDO ODBC
 Operating System:   Linux Ubuntu 18.04 x86_64
 PHP Version:        7.3.14
-Assigned To:        cmb
+Assigned To:        
 Block user comment: N
 Private report:     N

 New Comment:

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).


Previous Comments:
------------------------------------------------------------------------
[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?

------------------------------------------------------------------------
[2020-11-05 11:47:30] cmb@php.net

The following patch has been added/updated:

Patch Name: bug79270.patch
Revision:   1604576850
URL:        https://bugs.php.net/patch-display.php?bug=79270&patch=bug79270.patch&revision=1604576850

------------------------------------------------------------------------


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)

« previous php.bugs (#230735) next »