From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16509 invoked by alias); 1 Sep 2018 15:54:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 16500 invoked by uid 89); 1 Sep 2018 15:54:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.7 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Phelps, bryan, phelps, Bryan X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.134) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Sep 2018 15:54:38 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MJIXG-1ftO8k08KI-002rjA for ; Sat, 01 Sep 2018 17:54:36 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 6F454A81F07; Sat, 1 Sep 2018 17:54:35 +0200 (CEST) Date: Sat, 01 Sep 2018 15:54:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Bug Report: Regression in Cygwin 2.11.0-1 Message-ID: <20180901155435.GL6350@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="p2pkNiL1PnZBJ6Nr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-09/txt/msg00012.txt.bz2 --p2pkNiL1PnZBJ6Nr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1291 On Sep 1 09:56, Andreas Hauptmann wrote: > On Sat, 1 Sep 2018 01:24:49 +0000 > Bryan Phelps wrote: >=20 > > I'll continue to look around for a more minimal repro, >=20 > The normalization of paths with backslashes has changed. >=20 > The following doesn't work any longer: >=20 > cd /tmp > stat "..\bin\file.exe" # or > stat "..\\bin\\file.exe" >=20 > This however still works: >=20=20=20=20=20 > stat "C:\cygwin\bin\file.exe" I know where the problem is. A new piece of code fixing a crash due to a buffer underflow is too aggressively guarding the path buffer against this underflow when normalizing ".." in Win32 paths. I'll fix this and release a 2.11.1 soon, but I still have a question: Why do I push out test releases if nobody cares? In terms of this OCAML build system problem: Please fix your build system. Do not mix POSIX and Win32 paths, use POSIX paths only. Backslashes are *no* drop-in replacement for slashes. Some of the path handling is seriously crippled as soon as you start using backslashes, and that's a delipberate decision and won't change, even after fixing the aforementioned bug. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --p2pkNiL1PnZBJ6Nr Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluKtjsACgkQ9TYGna5E T6CCkA//QhmR8OHVaRzGJxbd9mox+QfArhkSEM1r9CFPfnjMxac8wRwH2f45iQiH Z1ogJZ9bn6v8kfbVsQuQtYHRvnmToHlgDCt2R3S3ZigvQw/itK0+Uk+ULvb33BwI sjQ+qHvlAl9PtTHQGjzCpNVSVtng8ZkSGajo7xNiBQvaOynfCy7IxBt+LwIgy28G yj+CNFYkRI4uBJMqz8kLLQoACev/3pDVFEL6Tkvsl3h2z2voEpcB3A8MMwOxJe1H RQ6V02GabSGgQz/eX2geffMtIOUvFT/E/suCXS5gSnpT5pCm0g9+03LdN4Cky+tg QqQZ09bOhsPtIpibwMmjdS+cqBD0+AzZ2+LOolazBDwde7RMm2TWVAGJqJNYfHud ivxMGYj0Cp+Oh+l/o2tSNRT0BmYZKo50UO9vCPgMIWK+lco2q5h98Jdd0rTV1G2M XiwzP2RkX8uwfJ/tpbvS7qRLYd4777P+Cc/hyL89A9Mj2ga6DGbEIbi2ZH1Erys0 Hk+nbp3547O2Gj6xO3UKagxumeAorM+dq+t58VhQpXJvbRTD5TC5yK2JOPRV/zYj L5+n4c7ffLahch4Acp24Xjn9esF51uENRO11f06Bjl6Z9TkPd6ryuc3BIR1CxFC9 C5xUeG1bNxwWQ4+tnUjEfFAo60GpuNXyaj1pTHjmVu5TU8A0fvc= =ZxsN -----END PGP SIGNATURE----- --p2pkNiL1PnZBJ6Nr--