From nobody Sat Mar 23 13:20:28 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 4V20Dr74RWz5FQc9 for ; Sat, 23 Mar 2024 13:20:28 +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 4V20Dr5wpMz4wRT for ; Sat, 23 Mar 2024 13:20:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711200028; a=rsa-sha256; cv=none; b=MwtDJ5dhmphTJRRAmSFVfuzFcBDTO1mNcmmicb8eoPdrngAeZzmqEzFyp73s9gqhUabcIc csiSyShq0kHtErDdp5qP/s2f1rQWUNCWz2AKtV0IAIemKN+8y4Uo5k6mxx/RTnkZne2G3P 7VXocap11BMfAWOYNlXkxoy96h+DsFbelOi8KJRFWETDmds4sCy+/b9MzwEwJqjcGq4NgX WR3l4REqDtvGCLCCOXSlxaP40hLdrX/acAVW5Mf4VQN6ABNbW6itMN2jNNDy+zEaUQ9Uql WiTUnuYmdJH6TZZAa5KY1NF+iZHXE6IM+l/0hwIacRtHowwEnDOTbKMAe92N7Q== 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=1711200028; 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=CBUPQdq5TzQV4EMX+x9L37aaUJ4406YjkcNha1x19HU=; b=JOTQ3WNhLY8RrXb5o/oP/8cHFvK6MV0uLFxx1qbNdJ6Ut47+v8TjWH27oz9ChKFHtbqQ7h 74cN13jsemYgw4jF0uFggt7FLPPShhkD69VKHyGnzIYmiap1L0eM4Zm+XCX75WtiFvEiHK ZxPoDf2olDq0KVF9mOXPPGxaGJlWkRxAT11NxMmTe0cJwa56VCA73AmyVd2VCcHkm7l1At BAGeoJQ272rcwhTD65P/0UASy65CpmuCnhwTXJhj9dUae692nM6WfrXAMuQZP1QtM9NEn1 7GZKnMxBztUcFQwofwYoD2pWrLQ7qiTNO1zBe4gmDc6O3d6gJufsQlRWTm2A5w== 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 4V20Dr5XP8zq2q for ; Sat, 23 Mar 2024 13:20:28 +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 42NDKSij012363 for ; Sat, 23 Mar 2024 13:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42NDKSTm012361 for bugs@FreeBSD.org; Sat, 23 Mar 2024 13:20:28 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 13:20:28 +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: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov --- This fix still does not completely covers all cases, for instance dlerror() might be armed from the previous rtld services call which was not followed by dlerror(). The code must check for error condition by verifying the return value from dlsym() being NULL (and not by calling dlerror()), and then it can call dlerror() to get the string describing the error. --=20 You are receiving this mail because: You are the assignee for the bug.=