lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 17 Mar 2022 09:15:01 +0000 From: "Kohada.Tetsuhiro@...MitsubishiElectric.co.jp" <Kohada.Tetsuhiro@...MitsubishiElectric.co.jp> To: David Disseldorp <ddiss@...e.de>, "\"Kohada.Tetsuhiro@...MitsubishiElectric.co.jp\\\" <Kohada.Tetsuhiro@...MitsubishiElectric.co.jp>\"@imap2.suse-dmz.suse.de" <"Kohada.Tetsuhiro@...MitsubishiElectric.co.jp\" <Kohada.Tetsuhiro@...MitsubishiElectric.co.jp>"@imap2.suse-dmz.suse.de> CC: 'Vasant Karasulli' <vkarasulli@...e.de>, 'Sungjong Seo' <sj1557.seo@...sung.com>, "'linux-fsdevel@...r.kernel.org'" <linux-fsdevel@...r.kernel.org>, "'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>, 'Takashi Iwai' <tiwai@...e.de>, 'Namjae Jeon' <linkinjeon@...nel.org> Subject: Re: [PATCH v2 2/2] exfat currently unconditionally strips trailing periods '.' when performing path lookup, but allows them in the filenames during file creation. This is done intentionally, loosely following Windows behaviour and specifications which ... Hi, David. Thank you for confirming the actual behavior. > Please explain how you came to that conclusion. > I did some further tests using the win32 CopyFile() API directly[1] on > Windows10 and observe that both trailing periods and trailing spaces are > trimmed for an exfat destination path. I'm using the native api to investigate the behavior of the filesystem on windows. This time, I verified it using NtCreateFile(). https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntcreatefile Cygwin and some tools can also create filenames with a trailing dot. BR T.Kohada
Powered by blists - more mailing lists