| commit | e0a55f68612c8bcee3a1173b0a220df7b7cbeeec | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <djwong@kernel.org> | Tue Oct 15 10:49:02 2024 -0700 |
| committer | Darrick J. Wong <djwong@kernel.org> | Thu Oct 17 10:28:21 2024 -0700 |
| tree | 6f5d2e1ee0f9488bb59b842fb360a645853fc40c | |
| parent | 250e43aa3c96c71a66da3e4fe85184d69d799394 [diff] |
misc: amend unicode confusing name tests to check for hidden tag characters The Unicode consortium has twice defined (and later deprecated) special "tag" codepoints. These tag codepoints are not supposed to be rendered (i.e. they're invisible) but you can certainly encode them in directories and labels to try to confuse users. xfs_scrub already knows how complain about these tag characters because libicu can detect both their presence and their use in confusing name attacks, so add this as an explicit regression test. Link: https://embracethered.com/blog/posts/2024/hiding-and-finding-text-with-unicode-tags/ Link: https://arstechnica.com/security/2024/10/ai-chatbots-can-read-and-write-invisible-text-creating-an-ideal-covert-channel/ Signed-off-by: Darrick J. Wong <djwong@kernel.org>