From nobody Sat Dec 09 00:18:03 2023 X-Original-To: ports-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 4Sn7rX0yVGz53gNW for ; Sat, 9 Dec 2023 00:18:04 +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 4Sn7rW6GtQz3JQ5 for ; Sat, 9 Dec 2023 00:18:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702081083; a=rsa-sha256; cv=none; b=wOPoFMqGjNtp6Oy/Qk5rj5Dq9fgKN7oyiCMJDKvZel6YBDHE6yCxSXaWk0CQVV8l6a+rOH MCSiNNfTCDpeT1QeRKqfBfAT2wIN42Wcr1aXfNnp3BMnQ6hS+vCei7TsBLYcN41kpfQt0Z ig8FRbQMF6SKAMOuAicNy72TiR1XhqGpQhPijAbj9YZ5VTpMvUNJ5zgq/htZ42+zoOekw9 GUufrNjmXp3hS2Y6gyhsqD/bvSLeQF2/KQLCjUrtpK5K5cXHIP4d8e+HyhX7sMZtoCmqAS qNVkOlwLHvDQLq91MMpnbw+RnjRn7+gGJOsKBKA7G3ARwtiA532B8KZjy4Cg3Q== 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=1702081083; 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=mobCiS45V5BraulIKzfAmU3g2U8FMkm2fTMImvWwAlY=; b=jw8qi4sJuq3k6DssCQBYfCRTbk0gzwmNziJgn7VzNHUnMYTSEf6UWG+5uZNxc143tmDq4i fyXRRaSo9JW6WCaZA01z3WVHpoUI30ShcWVagX8Lbr8aZ+b6munL2NxzPRIv089a1/B9Hk gEKOaSiVLdTNwNU19Bbk+htfl8xQH/Ko6d86n7zPtMYV+wBo9ALTlsa8oMibORIV44r8x1 1hVu8AjgZu8Tg1JLaYQY6NJ/8YFU9c7uGQt60dD2qjVqPx2gC7UiThNqnqa7Zv8Wz7gZl+ YSJImhANkeY1kufztRHoIyFGV7F9581hoYdvgEEKv9OaG/0eWfFJQuGKvk3t3g== 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 4Sn7rW5DQYzjFh for ; Sat, 9 Dec 2023 00:18:03 +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 3B90I32U034782 for ; Sat, 9 Dec 2023 00:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B90I3wE034781 for ports-bugs@FreeBSD.org; Sat, 9 Dec 2023 00:18:03 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: ports-bugs@FreeBSD.org Subject: [Bug 275646] security/samhain: don't use sbrk Date: Sat, 09 Dec 2023 00:18:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275646 Bug ID: 275646 Summary: security/samhain: don't use sbrk Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: brooks@FreeBSD.org CC: freebsd@gregv.net CC: freebsd@gregv.net Flags: maintainer-feedback?(freebsd@gregv.net) Created attachment 246920 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246920&action= =3Dedit patch to remove sbrk use Samhain has an internal malloc implementation that uses sbrk and malloc.=20 There's a fallback during initialization if sbrk fails so replace sbrk calls with a function that return the failure value ((void *)-1). --=20 You are receiving this mail because: You are the assignee for the bug.=