Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95318 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41779 invoked from network); 19 Aug 2016 17:09:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2016 17:09:16 -0000 Authentication-Results: pb1.pair.com header.from=davey@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.218.45 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.218.45 mail-oi0-f45.google.com Received: from [209.85.218.45] ([209.85.218.45:33170] helo=mail-oi0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/33-17996-A3D37B75 for ; Fri, 19 Aug 2016 13:09:15 -0400 Received: by mail-oi0-f45.google.com with SMTP id c15so72016936oig.0 for ; Fri, 19 Aug 2016 10:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xBD61OgqY1sNVsyoNi7ZsvJaLEG4jNUlUXiqNHx08UM=; b=sYexkRc3OKF8xUZv3ElfEubmWazDQp7PA/QO3VWDs/xNKkhKd59ZkhKztz600KCkZx EaaLERAImGXulLggAYCtb7F/nY4jBtqunSVWrWfBesCVkXdQusGo0ROEJuwQoQJSBePb f1v7X0j3l6CIGqsreSbGmK932xuLGJ3OIJMZGw/1XRXICSWgu5qINW+lYpKz3E3Xt/Rx AVUOGpJF2u4nHg9/HUJ9e/xgqlbkRhRmklOfWIPQ8yGEd2kfdlZCsiVZGAPeR0nFdgHg tHdXNjx7dpFEj/reZSP7jT5LNMQjM183vEv5spB0foBLaldAZaUSjJFY8blPHte7XMpm FB5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xBD61OgqY1sNVsyoNi7ZsvJaLEG4jNUlUXiqNHx08UM=; b=iKfFlA18lc68PCyP58JsdLtcUWXZwk4kOIopoBFZuu8bPeyWYT7JoRyN9BKMeVeoJ8 2oLKO5Yq83ExSrOqcVIC8/MJOehmT/JflUAONdycf3ebabOiYPjX+06AlNasZT7LwOjH EBXbnIHuc84oS4TWt1q00/1nhmYArl33cEtQB7/OPuMe6M4SZqz2vGmZHGX9ew/UxlBa jIduAlh7UoKANlBeC8BoSK5v8b4SBW7NJndDw01HxmFWBT9PJBjR8Tqnn8IiMANTF1uK 3K/HIOfDOKNmtlo/dCYXxlpmftQG6JoFsmjLQz4QTpkQslG70Q332YC0RDu69r6HkAKg KJjw== X-Gm-Message-State: AEkoouuVyM3N6sl0T4Ueoun+TnMldYtRH0SRRyoGq/2g4Er1eflaWIOEKgfCDF6Ac61pzz762aKbyB6NesHq05mj X-Received: by 10.202.206.20 with SMTP id e20mr5075898oig.136.1471626551993; Fri, 19 Aug 2016 10:09:11 -0700 (PDT) MIME-Version: 1.0 References: <036401d1f30f$afa85a40$0ef90ec0$@belski.net> <3dc2f23a-c4fb-a63d-ab7f-fa841091b313@gmx.de> <53037294-e8ed-31c8-95ef-522e02333e7c@gmx.de> In-Reply-To: <53037294-e8ed-31c8-95ef-522e02333e7c@gmx.de> Date: Fri, 19 Aug 2016 17:09:00 +0000 Message-ID: To: "Christoph M. Becker" Cc: Anatol Belski , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113acc58dfbb52053a6fc13b Subject: Re: [PHP-DEV] SQLite 3.14 From: davey@php.net (Davey Shafik) --001a113acc58dfbb52053a6fc13b Content-Type: text/plain; charset=UTF-8 Christophe, I got the failure multiple times in my Debian Jessie docker container that I use for builds - you can check it out yourself at https://github.com/dshafik/php-build to see the setup. Thanks for looking into this! - Davey On Sat, Aug 20, 2016 at 01:35 Christoph M. Becker wrote: > Hi Davey! > > On 19.08.2016 at 15:32, Davey Shafik wrote: > > > I saw this failure while packaging 7.1.0beta3, and assume it might be > > related to your update: > > > > FAIL SQLite3 open_basedir checks > > [ext/sqlite3/tests/sqlite3_21_security.phpt] > > > > ========DIFF======== > > 006- > > 007- Warning: SQLite3::__construct(): open_basedir restriction in effect. > > File(%s) is not within the allowed path(s): (.) in > > %ssqlite3_21_security.php on line %d > > 008- Exception: open_basedir prohibits opening %s in > > %ssqlite3_21_security.php:%d > > 009- Stack trace: > > 010- #0 %ssqlite3_21_security.php(%d): SQLite3->__construct('%s') > > 011- #1 {main} > > ========DONE======== > > > > Can you please look into this in time for RC1? > > I've just checked again with the tagged PHP-7.1.0beta3, but the test > succeeds on my machine. Therefore it's hard for me to assess what is > wrong. According to the diff, it appears that the second DB which > shouldn't be created according to the open_basedir restriction, is > actually successfully created. > > Anyway, it's rather unlikely that an open_basedir related failure is > caused by updating SQLite, as this check is part of the PHP binding[1], > which has not been affected by this commit. The issue might be caused > by commit cc125f27[2], but that's also somewhat unlikely, because the > Travis checks usually succeed generally. > > Can you reproduce the test failure? In which enviroment? > > [1] /sqlite3.c#L125 > > > > [2] > > -- > Christoph M. Becker > --001a113acc58dfbb52053a6fc13b--