www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/07/05/11:20:32

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 565FKWue2364774
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 565FKWue2364774
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=fSYZJEFm
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AF9D385ED69
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1751728830;
bh=HySilpIItMkI73n1n9KgPLqY9TaWZXl6O1iVboI9itY=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=fSYZJEFmUfM5c5KNSTpEy1tPvx4cIJ6uVuboesnYm3uKp0T5DZj7bITzAdBiRlfa8
Hbcf0Mp0JQslIdUwX37oXWdOFAkkwpCvnI2BGwU0+QqIKb/lKi8D4ZBfme2LA3YUE+
gaby7zLlKlE5493co1SeopplPmH6AGDOXs1biemA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D11F1385C6DD
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D11F1385C6DD
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751728804; cv=none;
b=Hn1xKk5O/7/THDrfBZCjsBudb+UF6nQaUilsevni71lyHVM7ss3mu1YEoVjEXs9yxPd4Qgkggx0iBIo+1hA1kelFgNroqTL8ZakPaw7BqgER8G1jpsTsJQCtwWVu2Hs8LknnzYJglqVTup5dIAG9mAp0kd99jKkh3Xah6DPFKZc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1751728804; c=relaxed/simple;
bh=iTRtMIQbSdH6XSdQeiqYOqS+0WwZkwgCLJv/WzFVP8M=;
h=Subject:To:From:Message-ID:Date:MIME-Version;
b=lbzzqmgBb7WJQTL/hP428zsfunjQ3pF/uZiqTij+QA3mHISMke59FHjQMUS/pDi14Yeo3nGOvYWF/Oejyec2c3/QGLtkwLvJCW6Fma7+gCejiO8fQoz4E6mptQTgWwWqiEHc7w3N+6FRtMVLAJmMN2XsRoDvss6nzqWZ3sce138=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D11F1385C6DD
Subject: Re: readdir() returns inaccessible name if file was created with
invalid UTF-8
To: cygwin AT cygwin DOT com
References: <96f2253b-791b-b8a0-97dd-8d257eefb9b1 AT t-online DOT de>
<03c4fae7-7322-572c-ae72-52e300f0b438 AT t-online DOT de>
<aFxRfI4NdZ8y5IlK AT calimero DOT vinschen DOT de>
<f78c615c-aefe-b3d0-aada-5f9d0cf73a0a AT t-online DOT de>
<be9b6387-a928-4fcf-af68-dab10f3aaa9b AT dronecode DOT org DOT uk>
Message-ID: <913d0a43-6a8b-3a35-03b6-34094ad3338b@t-online.de>
Date: Sat, 5 Jul 2025 17:19:58 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101
SeaMonkey/2.53.20
MIME-Version: 1.0
In-Reply-To: <be9b6387-a928-4fcf-af68-dab10f3aaa9b@dronecode.org.uk>
X-TOI-EXPURGATEID: 150726::1751728801-B4FF756A-BDB2DECB/0/0 CLEAN NORMAL
X-TOI-MSGID: b94204f5-604c-4045-bec9-1f838e1d3c1c
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Jon Turney via Cygwin wrote:
> On 26/06/2025 18:07, Christian Franke via Cygwin wrote:
>> Corinna Vinschen via Cygwin wrote:
>>> On Jun 25 16:59, Christian Franke via Cygwin wrote:
>>>> On Sun, 15 Sep 2024 19:47:11 +0200, Christian Franke wrote:
>>>>> If a file name contains an invalid (truncated) UTF-8 sequence, open()
>>>>> does not refuse to create the file. Later readdir() returns a 
>>>>> different
>>>>> name which could not be used to access the file.
>>>>>
> [...]
>>
>> Testcase: enable one of the "DON'T DO THIS" lines and make sure that 
>> a suitable file removal tool is available :-)
>
> Christian,
>
> I think you should already have push access to the stc repository I 
> setup [1], which is now run as part of the CI to check for regressions.
>
> If you think it's useful, please consider adding this (or any of the 
> other STCs you've very helpfully put together) to that.

Added broken/random_filenames.c and fortify/realloc_fortify_3.c for now. 
I will look for more...

-- 
Regards,
Christian


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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