Bug #73087 [Com]: Memory corruption in bindParam

From: Date: Sat, 04 Feb 2017 19:31:40 +0000
Subject: Bug #73087 [Com]: Memory corruption in bindParam
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207168@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73087&edit=1

 ID:                 73087
 Comment by:         riosjp885 at gmail dot com
 Reported by:        dorin dot marcoci at gmail dot com
 Summary:            Memory corruption in bindParam
 Status:             Closed
 Type:               Bug
 Package:            PDO Firebird
 Operating System:   Debian 8.5
 PHP Version:        7.0.10
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

i have try it on my android moto e with this php7.0 it keeps crashing my phone because i don't
have enough memory space. so umms, what i am trying to do is to install it on my chromebook instead
to work it out. how do i install it on my chromebook, is their a quickiest way to install this
php7.0


Previous Comments:
------------------------------------------------------------------------
[2016-11-07 16:35:11] ab@php.net

Related To: Bug #61895

------------------------------------------------------------------------
[2016-11-06 16:15:38] ab@php.net

Fixed with https://github.com/php/php-src/pull/2183/

Thanks.

------------------------------------------------------------------------
[2016-09-16 17:23:57] cmb@php.net

I can reproduce the segfault on PHP 7.0 (with and without the
utf8_encode(), and even with string literals). This issue is
actually a duplicate of bug 61183. See there for further info.

However, there are also memory leaks caused by your supplied test
script, namely during executing/fetching the SELECT statement.
Thus I'm leaving this ticket open.

------------------------------------------------------------------------
[2016-09-16 17:23:26] cmb@php.net

Related To: Bug #61183

------------------------------------------------------------------------
[2016-09-15 15:40:50] dorin dot marcoci at gmail dot com

Strange, if I try without utf8_encode I get an error from Firebird Server:
Dynamic SQL Error SQL error code = -303 Malformed string
NAME, CONTENT have UTF8 charset and collate
Content are passed as raw bytes and server check if string is encoded properly.
But, in fact, a pure hex string should be considered valid utf8 string.

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


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=73087


--
Edit this bug report at https://bugs.php.net/bug.php?id=73087&edit=1


Thread (7 messages)

« previous php.bugs (#207168) next »