Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91420 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12449 invoked from network); 25 Feb 2016 20:12:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2016 20:12:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wm0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:38507] helo=mail-wm0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/E5-11730-E006FC65 for ; Thu, 25 Feb 2016 15:11:59 -0500 Received: by mail-wm0-f47.google.com with SMTP id a4so43382278wme.1 for ; Thu, 25 Feb 2016 12:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=m6UOZf2TJPlcOIuSD9S/QBWTHmDlNg2qyne6NlHEhm0=; b=X0xlLUTqBXXrCrW6temNG0mzM3kjogweZpet4BgKD0/Ewf3VWNTobvKD7JRKwJTm2O bkr7N+MYVIKjbNgq0VOuStJloHydlILljXrMhT1FJPkzMfZunhKdwuYFkB8Ij8YqVDht DJjnxFJsTd6BeK3NQpNBHQ+X2V4OY+/uqHWaW2NoWJrgDGvwtsSixbZUPhJPlETa9s5M lNo93NUqiHXK/nWmkEnVNDldn8YvmRb1p7uqC+IbIR5z5oyJ+YlszkEj1jl7R/mid1Jo PY1tbInibZ7mIrdvgocIHVi6xKhdfln6k5b9ejetFxG7pcYX3XNl1skGLOPsvunyjAOT 5W8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=m6UOZf2TJPlcOIuSD9S/QBWTHmDlNg2qyne6NlHEhm0=; b=KgYd5PsxwOxfhuZ1M9/axWSbb9SFziZ6bA6InPFGx8bCFaVmPY36vYsJWApPPkPnet tuqGYvxM8ILA83oOs6CeQk42leB0w95c4z1XE9xqReGkYP5Rqp50sVNb62nqMC5XYkth kP56wMimGV+Z1UlUa7wd3RbwvipYcYaVQADcfrOoxUEIvB0uieB3qAhC3mhiX1Iq3z1c 400/feB4EWakImUxE68xQG6V/RpVs9s0rvWq5IyzoaCrqAosD7gCKA+mFqnsH9wzwJ7g ToR2RmjipE79VD4ZCqMRBc6NGAXMFia/NEAVzBwIr+gQoCYkAQvLL/iupo30w5Zri3Zi ynVA== X-Gm-Message-State: AG10YORKuixZTnLGUbU6pm+dTL6BxTrUTOZZgCgVZyhhO+S5KEoPL/TJlMrSPpjP9znDLg== X-Received: by 10.28.97.135 with SMTP id v129mr491817wmb.90.1456431116112; Thu, 25 Feb 2016 12:11:56 -0800 (PST) Received: from [192.168.1.27] (112.Red-88-27-117.staticIP.rima-tde.net. [88.27.117.112]) by smtp.gmail.com with ESMTPSA id x66sm4713551wmb.20.2016.02.25.12.11.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Feb 2016 12:11:54 -0800 (PST) Message-ID: <56CF6009.9070704@gmail.com> Date: Thu, 25 Feb 2016 21:11:53 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: Anatol Belski CC: 'Christian Schneider' , 'PHP internals' References: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> <012501d16a24$a230d050$e69270f0$@belski.net> <031b01d16aee$645ef340$2d1cd9c0$@belski.net> <56C90452.7040206@gmail.com> <001001d16c94$954769e0$bfd63da0$@belski.net> In-Reply-To: <001001d16c94$954769e0$bfd63da0$@belski.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion From: keisial@gmail.com (=?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?=) On 21/02/16 11:42, Anatol Belski wrote: > Were you putting the snippets into a file or testing on the console? I > had an issue while testing this on the console, that some chars was > partially swallowed by terminal (which was a utf-8 terminal). When > putting into a file, the output is same for both - "x°z". Please see > also the continued discussion in the original ticket > https://bugs.exim.org/show_bug.cgi?id=1189 . The offsets delivered by > PCRE also seem to be correct, and valgrind doesn't find anything. It > were great if you could confirm these insights. Thanks Anatol I was testing on a console and piping into hexdump. Using files showed -as expected- the same failure. The pcre-8.39 trunk (r1635), once you enable all the required options, does fix both the C test case and the php one (loading the new dynamic library instead of the system one). So yes, seems fixed in libpcre :)