From nobody Sat Feb 3 18:32:27 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 4TS1TS3X3Tz588bZ for ; Sat, 3 Feb 2024 18:32: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 4TS1TS1qY6z4plc for ; Sat, 3 Feb 2024 18:32:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706985148; 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=TpoPqEuEztS8bDkzp6xI7AOoOMbpE8YD1PUcvcHiRLo=; b=x8/t/GrPoGYeXCS/9G0c8UsxvLfhmbVs255DHuW+DVe/s6jOISx3H0gPQ1alqMJVL34esM WSGV7zYJS2QEbiJT2k01QOsLG7sfg0VaEgrq0l6QBAHIVm3nzfG+Guj5adGU1NbH4aOPc0 apKGysi850J8WJkCMuwSPQy/6ExG9CfaWxqe/TNOUO4otn/2ZRjjaNpC8d0nEaxVH8dSlm vUV0KNdmQDBRy09P2HijsGDw8pYRjm1qtJm4mfo/SKDVx1NkKlIqD9X9J4uBvFozpwlUMi vLtdUF7aK5c8YQYESuNqMnnvc416fxY0xzrqPcfXXnpPTNgefXqu8v3yHf1yzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706985148; a=rsa-sha256; cv=none; b=W/jjYomIpSvBmQ1X0qu9Vw2qZLMGjypGd9CP/UusXLMR2Me19n3tyufsh0PmpjJ54QWESb VciTfHHoqRSNutqaLvDLq3KFHJnc8SDnvNaoVyBDAaaQVuBEyl3WVOOwrwuUtjWyzEMFfM UiORR9Lq9NrvrAwQ56VWgoXwYxK73WX7BowuuWLU86Cu0h87s+uaaCJbP8AFHl7fJDdN5H bxCzFEOU1NDctr2iLnbvz0ZisVXL/g1gwdu4hr9Ew5s2Uvu/kwhV2Y99uArLxnyK5XYAav MQwll/StnQyoefnoKNQYX9yvrM6dyDBSUwQdhF7/cMlV0P5EE3wV9n2HZ+6/KA== 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 4TS1TR6jFszPXW for ; Sat, 3 Feb 2024 18:32:27 +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 413IWRjm018387 for ; Sat, 3 Feb 2024 18:32:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 413IWRBd018383 for bugs@FreeBSD.org; Sat, 3 Feb 2024 18:32:27 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 276809] SEGFAULTs using libjail Date: Sat, 03 Feb 2024 18:32:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status 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=3D276809 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Assignee|bugs@FreeBSD.org |jail@FreeBSD.org Status|New |Open --- Comment #1 from Mark Johnston --- The problem is that your code is not calling jailparam_import() or jailparam_get() (with some JID specified in the parameters). In this case, there is no value to export, i.e., jd_value =3D=3D NULL and we trigger a nu= ll pointer dereference. But, the library should probably check for this case = and return an error instead of crashing. --=20 You are receiving this mail because: You are the assignee for the bug.=