From nobody Sat Mar 23 15:35:08 2024 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 4V23DD42VLz5FGFn for ; Sat, 23 Mar 2024 15:35:08 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V23DD2ykmz4gWR for ; Sat, 23 Mar 2024 15:35:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711208108; a=rsa-sha256; cv=none; b=h3CGCtcjt0zBxYvE9VJe8NewdPYFICBiK4eMOGdz9jVEhn1c1nHvqGeUDKHbtp/GqMb7Qc amh/ogXyNnTAkDVwfiEI9SMPOIYL9wPdUxFAvrwyG5h9gN7/hjmfIzGnh+lKnjap39OusO WF4Lwzivchx7c0/adiwj/qgPl5ShaXrpAdoWxB0NmD7dxWmFmFgvEwUxWVjVSeyL/A2Ktl F/XRKK0DuQg7Z12KwpWW+I1BHpiAyKTLndnUH4e9ybRRNItDN1AqYifWQYVhTV73gL6JIu sHgP8fbGmCeE7XKt3zS/tB+3TKOoycO8+6/wQVvmwv84oObEe+mRWQDX83YAJQ== 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=1711208108; 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: in-reply-to:in-reply-to:references:references; bh=kEy/pBrFXPjKy3ZeEbRl9rmccd6e7bzkHWEvu1ao4ms=; b=VQHSBGSLyqLj6VHaudjZ5jXnq2X1lMKUPL5aTVwV5O+974sgN6G3LXWGwZhBhrTRMNZbh5 bdhc5BPT/T4NT0v+7oDXb0Mynxxz4KaNPnOyQYERhSJ0pPIQFIVmw9z7ZuNtmiDLMcnKRv KQRlEonpGyADC0s5dpQX3RX+HBSLsfaGaeHJ6qezOfUZBWtj0jF4acNQUI850Woojmgs5C 0K5hRwzJgLrcOLhDdd57wOwXDr3A8RZkPlF5OatVIUjEDzb0iYDVrU8/795cwpPpHZmX69 Do2krXWDiw3mBwMINzP2sljLM0zvIbqD67K5utZifjVFUAXaAQBsgwEn7XiZpw== 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 4V23DD2SLVzv7g for ; Sat, 23 Mar 2024 15:35:08 +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 42NFZ8g9043324 for ; Sat, 23 Mar 2024 15:35:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42NFZ8Og043321 for bugs@FreeBSD.org; Sat, 23 Mar 2024 15:35:08 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 277906] libalias fails to report an error from dlsym() Date: Sat, 23 Mar 2024 15:35:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Igor.Gusarov@kaspersky.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277906 --- Comment #2 from Igor --- Created attachment 249427 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249427&action= =3Dedit Patch with detailed diagnostic for libalias module loading Apart from fixing original problem reported in bug 277906, this patch chang= es diagnostic error messages to make them more detailed and user friendly. Please review those changes to verify that they do not break any existing c= ode, and do not introduce neither vulnerability, nor exploit. They print user-configurable path names. Can it be abused somehow? This patch also documents the current behaviour of libalias: it may leave dll::name member string _not_ NUL-terminated. --=20 You are receiving this mail because: You are the assignee for the bug.=