Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66970 invoked from network); 28 Sep 2008 22:48:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Sep 2008 22:48:04 -0000 Authentication-Results: pb1.pair.com header.from=ilia.cheishvili@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ilia.cheishvili@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.28 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ilia.cheishvili@gmail.com X-Host-Fingerprint: 74.125.46.28 yw-out-2324.google.com Received: from [74.125.46.28] ([74.125.46.28:64443] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/02-53562-3A900E84 for ; Sun, 28 Sep 2008 18:48:03 -0400 Received: by yw-out-2324.google.com with SMTP id 5so286770ywb.83 for ; Sun, 28 Sep 2008 15:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=aolqmgz04VsfkU6AnLiqtboF5JSYEf+nsHSNaQQPOvk=; b=KHd4sPp9RPpmatcy4emIFIUZTQq2G1OCeXYIy0+KiUlNWUKGHq+9LUJQOFANV8nR7n L/hDY9HrtN1r2sAWPMi9+BSs18A6adc47IZKdsZtEYpyMNnsuaPhwa00/gxkeLUDdCme R3fr2fF2jQZV5JHT23C/KFEcFyzdphPOL4+q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=FPq3vWbfmxqZmQQ/OLG1dFIO4WcWiJb1FqmEhIs9yJokaQVboUZ3dkyk41cs4U8tnl U6Gd9aimL/m522JMQHVRn1Bmr50ElQARCo2s/G1vSogYxePRfnmSP+2iloHxHoZtzH+Y uN/LAEcRnHDdGhvMj9Gev8gUbWj0aLqiuJBsk= Received: by 10.151.51.18 with SMTP id d18mr2889849ybk.245.1222642081151; Sun, 28 Sep 2008 15:48:01 -0700 (PDT) Received: by 10.151.144.11 with HTTP; Sun, 28 Sep 2008 15:48:01 -0700 (PDT) Message-ID: Date: Sun, 28 Sep 2008 16:48:01 -0600 To: "PHP internals" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_28857_31255799.1222642081129" Subject: [PATCH] Fix bug #46146 From: ilia.cheishvili@gmail.com ("Ilia Cheishvili") ------=_Part_28857_31255799.1222642081129 Content-Type: multipart/alternative; boundary="----=_Part_28858_24558033.1222642081130" ------=_Part_28858_24558033.1222642081130 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline There is a bug in stream_filter_remove() that calls the stream destructor when it shouldn't. I have included two attachments--one is the patch to streamsfuncs.c and the other is a test. Take a look :) Ilia ------=_Part_28858_24558033.1222642081130 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
There is a bug in stream_filter_remove() that calls the stream destructor when it shouldn't.  I have included two attachments--one is the patch to streamsfuncs.c and the other is a test.

Take a look :)

Ilia
------=_Part_28858_24558033.1222642081130-- ------=_Part_28857_31255799.1222642081129 Content-Type: text/plain; name=bug46146-diff.txt Content-Transfer-Encoding: base64 X-Attachment-Id: f_flo8vuc70 Content-Disposition: attachment; filename=bug46146-diff.txt SW5kZXg6IHN0cmVhbXNmdW5jcy5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9yZXBvc2l0b3J5L3Bo cC1zcmMvZXh0L3N0YW5kYXJkL3N0cmVhbXNmdW5jcy5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAx LjU4LjIuNi4yLjE1LjIuMjEKZGlmZiAtdSAtYiAtcjEuNTguMi42LjIuMTUuMi4yMSBzdHJlYW1z ZnVuY3MuYwotLS0gc3RyZWFtc2Z1bmNzLmMJOCBTZXAgMjAwOCAwMTozMzowOCAtMDAwMAkxLjU4 LjIuNi4yLjE1LjIuMjEKKysrIHN0cmVhbXNmdW5jcy5jCTI4IFNlcCAyMDA4IDIyOjI5OjMxIC0w MDAwCkBAIC0xMjAyLDcgKzEyMDIsNyBAQAogCQlwaHBfZXJyb3JfZG9jcmVmKE5VTEwgVFNSTUxT X0NDLCBFX1dBUk5JTkcsICJDb3VsZCBub3QgaW52YWxpZGF0ZSBmaWx0ZXIsIG5vdCByZW1vdmlu ZyIpOwogCQlSRVRVUk5fRkFMU0U7CiAJfSBlbHNlIHsKLQkJcGhwX3N0cmVhbV9maWx0ZXJfcmVt b3ZlKGZpbHRlciwgMSBUU1JNTFNfQ0MpOworCQlwaHBfc3RyZWFtX2ZpbHRlcl9yZW1vdmUoZmls dGVyLCAwIFRTUk1MU19DQyk7CiAJCVJFVFVSTl9UUlVFOwogCX0KIH0K ------=_Part_28857_31255799.1222642081129--