From nobody Fri Jun 5 14:58:22 2026 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gX4Lk3d4Rz6fyL5 for ; Fri, 05 Jun 2026 14:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gX4Lk2mt3z3f71 for ; Fri, 05 Jun 2026 14:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780671502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ksj29LqDNuRpVIFGoluMZHeHvRaru4QC3uRRNFT9etM=; b=OBShBQSfHpP8+Mve6zzYv5XrinZiTK00xoESfhAqRLPsZjX+IeC/Iq+9unR+DOfxUkECUb 1QCQZwb5ikiqvRGNpOzOzyzcDlJ+x+O6mdiivV+80FKCi/+LuBj5r+56rLdvHabvFR2Ofb u/4Ki6uYEWpOhVMPfGQHWvjOvLBFC3mfQmp+VZQfxEGAAorBBIld0YbpPhEBQssn4ewIQP +QYIWJi7khh57x4IRvo1w32xGKrFgAaJkYTNwoKbxkGoNEMyOswvSN7jdylW8DYa+bI85D f9vxLIasDWmUpM1xqrq629nLXXf9Ira2pfyLw07MASDA825P1oHUWOrKm+RS4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780671502; a=rsa-sha256; cv=none; b=rJT0Ak5qCiv+qdjQHF6P/VBXOrHwTCo+zEEq3y/BYfvKnVETGS5hDlgqH9xBIzh6UVsEtq 5PeRH1G4ERyQswGILGRANvHlqgOJFiTKcW/iSxK78cikkkrlpuWfW+F8BvkB86y9lLWFIt UEYD2T0uCRrrvfC3jiyS/5AlfYFgNQ5AtC9V4PY0JO0tO/oJPf2zTfap/YdxYOHHk6EBtO AVn/hituwp1gsgat+F4hvGxTPuXvU9KrjDhVgy/YGpdMXD8TduTjmVHWCO86O4axRnm9ez pCFdKuwsPVwHGaJVQYjRVWQIzs0SKGRkwC8LQRDuvWFx6PMqPTQTd6qYvBipEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780671502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ksj29LqDNuRpVIFGoluMZHeHvRaru4QC3uRRNFT9etM=; b=TYEuFIqCEvVAXEw0rHJUnpttFGIg6KUlZuPXeQDfscErWCAiGKvgXjikST9pP+ELSkNB3R yc63zO3h2lCdBTtB2kzoB4f3q6mVNKtKXlnlok9dYCID4QPblODX4SrZWRmVOPAf6gRdRu gPEVdEdQ8yMv0VlkQ++rpM9PHtYgBawUbIvLGuqmgwfaUmY7ugMQ3f4j3wKd/PE8Ba+XEa A5j1CSLc8ygVlL7GU+/pg3Qw5OkJ+UfEVZ6k7YxyafayZUI1kupzBTJumTNLXcMs3uSrhw 5YMe25CpbunxxNeYLx2lZWvCya0w/vrRWxxD5z6Rv3GO7Tx+i42Tx4MyGhdPCA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gX4Lk2CF6zZgn for ; Fri, 05 Jun 2026 14:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 655EwMdi085562 for ; Fri, 5 Jun 2026 14:58:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 655EwM3f085561 for bugs@FreeBSD.org; Fri, 5 Jun 2026 14:58:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 295875] md5 mangles filenames containing non-ASCII characters Date: Fri, 05 Jun 2026 14:58:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295875 Bug ID: 295875 Summary: md5 mangles filenames containing non-ASCII characters Product: Base System Version: 15.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - FreeBSD stable/15 at 6146c5962e5c - LANG environment variable set to C.UTF-8 - No LC_* environment variable set - The filesystem (ZFS) is using UTF-8 character encoding for filenames - Running md5 -r =D0=BA=D0=BE=D0=BF=D0=B8=D1=8F.doc Result: - The following is output: 0123456789abcdef0123456789abcdef \320\272\320\276\320\277\320\270\321\217.d= oc Expected result: - The following should be output: 0123456789abcdef0123456789abcdef =D0=BA=D0=BE=D0=BF=D0=B8=D1=8F.doc Note: - In /usr/src/sbin/md5/md5.c, the function "safename()" is used to mangle filenames. This should be replaced by a saner check which also considers international characters based on the environment settings for LANG and LC_= *. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=