delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/01/11:54:51

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=v7hOEMnWJbteMb5aPhEL3orzqHz/g5xCJ7s8Hwi8fFtA0yYdJfGCM
5nbweMaaOAcTIHZR5pilLFlGfzKTlfJmwBuBuSyXHY9e2hB//EEPTBcawj+VfqE/
ehjPeGp+0qATmnbFBll4eje+91refK8MSvqmq59U/E/TuWGDn/wts4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=8x2rzefaKCK03k3B612fY/Xoi/Y=; b=ZqMpPbsoKauda7YQST+pR7U7p2Hx
PeafLQKzkSptrcmpABKdi18JYV0svqvmFAFKasgExxXHJeBy4TA6/up+aS4l4koA
86Qgd3kIkDvw8QIxoYekMBFrq5tq8f3VlU2+iegpfK6YQzJEeUyfJkqDQNkfyyqL
IUiTUH6EGp0tviA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Date: Sat, 1 Sep 2018 17:54:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug Report: Regression in Cygwin 2.11.0-1
Message-ID: <20180901155435.GL6350@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BL2PR16MB096125DC7F302700C5DE88C0C80E0 AT BL2PR16MB0961 DOT namprd16 DOT prod DOT outlook DOT com> <pmdgjr$9q9$1 AT blaine DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <pmdgjr$9q9$1@blaine.gmane.org>
User-Agent: Mutt/1.9.2 (2017-12-15)

--p2pkNiL1PnZBJ6Nr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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"

-----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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019