From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 884813858C78; Thu, 2 Nov 2023 13:43:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 884813858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698932633; bh=aTK2indBgzwJFKn0FfxkE8b9ohSuIjQS5nK2ECqTN3o=; h=From:To:Subject:Date:From; b=O6sNIFGVPlA19ygk6PPJ6CVG4ZyTswyd/a0Nr78Kz0jBm2UaKn4uGyobU8X14o98s Mm0qzSEjHoeKfTr0rLctH7BsNg5cIdwUPuKON/6amkvpskhprJNTMOww3PPE7WHqu5 JwneYvY0yGcz/TDg5VQvayqLWAe2SiZWAKk/hPYo= From: "amerey at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug general/31027] New: Remove asserts from library code Date: Thu, 02 Nov 2023 13:43:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amerey at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31027 Bug ID: 31027 Summary: Remove asserts from library code Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general Assignee: unassigned at sourceware dot org Reporter: amerey at redhat dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- It would be better for elfutils library functions to return an error code instead of aborting because of a failed assert. For example see https://sourceware.org/bugzilla/show_bug.cgi?id=3D30980 We should remove asserts from library code to prevent unnecessary aborts. --=20 You are receiving this mail because: You are on the CC list for the bug.=