Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87314 invoked from network); 20 May 2016 13:54:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2016 13:54:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.180 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.161.180 mail-yw0-f180.google.com Received: from [209.85.161.180] ([209.85.161.180:34489] helo=mail-yw0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/02-08692-2071F375 for ; Fri, 20 May 2016 09:54:10 -0400 Received: by mail-yw0-f180.google.com with SMTP id j74so109671322ywg.1 for ; Fri, 20 May 2016 06:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=AvHsKNSYeLQNsSj12phltr2jCdccmOodGusbtCozmnA=; b=xrMEj6g4CdPtWqD4gvwPhYsbtubQjHXlS4YYTtlT2CDzqfidD3eXMfcrK75b7GdioN eAAuW5/CJABtSJVnHNnX7q/oSGq1lJ4W5X3E5bhQE9OCj4vrg2mdkfRI2imw5F7gfNTS Nim5qLKbDZfQ3VqNS+db/2QTatlq//y2AfPhevEkEvx74hMjmPywatLA3Z7t6DZJJwru aAdiFa6e0+B25+x1aShzfGqqoEXZufBGPE/ZY8yIQThcjI5tFL9cpPrB+mA7Dc33JLIL 5GOMX68mHkccQlOvRAlNUaPtcptb1I0k4XTh2b41VdSxuE/hk719g+Q8Aq4fnv72+534 xLLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=AvHsKNSYeLQNsSj12phltr2jCdccmOodGusbtCozmnA=; b=YrIhaPTMWXGYruX1B/LdEr9zDeNd9/fQ3CAttSydasN6xcHoYwjmljIgAoaaRN0ZWm ihOY+RX+9GaZe50EaMLh4Qewl+1S/z2qrZKJRAHeuTkacT0W3E5PefeSXI/UGxR+xzXS LjJ1UFFomt/RmFQdlSrlOcjNfeclKJ20NJVHzJbbv6ThYEziu8uDXvrbElntiWtgcFub Yc+sMiC+rHuuJzgwrrhmXRE+w1MGLC1ojrkJUGyc5Y9t6Ozcih5vB2u3g+vrrU420NQl cNwEmuNHGY7/WQKkFbaZM76A7HcqVKMNI9xNzSaiOBmpTzpNKEugOzz4ye/bV6T+ErDh bFGg== X-Gm-Message-State: AOPr4FWLcIVB5m+iDGj+7wG7UCoXJKg21n0oHhe/3Tzt8IjZHKCnuJ4cYQeWYbuaxi+qiJGLRK9PE1S0rjzjsA== MIME-Version: 1.0 X-Received: by 10.37.47.195 with SMTP id v186mr1922222ybv.75.1463752447652; Fri, 20 May 2016 06:54:07 -0700 (PDT) Received: by 10.13.239.3 with HTTP; Fri, 20 May 2016 06:54:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 20 May 2016 15:54:07 +0200 Message-ID: To: Dmitry Stogov Cc: Xinchen Hui , internals Content-Type: multipart/alternative; boundary=001a1140c3ecae78f00533466c64 Subject: Re: "finally" handling refactoring (Bug #72213) From: nikita.ppv@gmail.com (Nikita Popov) --001a1140c3ecae78f00533466c64 Content-Type: text/plain; charset=UTF-8 On Fri, May 20, 2016 at 2:07 PM, Dmitry Stogov wrote: > hi, > > > Please review the path > https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330 > > > I hope, it should completely fix https://bugs.php.net/bug.php?id=72213 > > > I'm going to commit this on Monday. > > > Thanks. Dmitry. > From a quick look: https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330#file-bug72213-diff-L74 => should this be orig_try_catch_offset? https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330#file-bug72213-diff-L303 => This assumes that either there's a catch block or a finally block to go to. However, if we're in the catch block of a try/catch (without finally) that may not be true. Also, this still leaks one exception :(