From nobody Thu Feb 23 00:16:08 2023 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 4PMYTh5jwcz3sffh for ; Thu, 23 Feb 2023 00:16: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 4PMYTh4gkfz3wBR for ; Thu, 23 Feb 2023 00:16:08 +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=1677111368; 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=eCyCbInmCdLBpraUVy1OrPaG+2kE3BoE+70eJIpMBDQ=; b=ZxmI2rolArPwwn1gYCPJweZwYwoXT5tXGrsEqt6lR97unABF5RuFwxiSRlv3ziJyExZk2S g0y9j3a7D8i6buWcjbUZa809/wEuyR4vcoAJpxNx9WiQt0JDJZy2RM3m6fcQVNnU1pJQIy +fzerwrKGSI4GoDfR1MQ0/aVWXVpWuaH7GEbZgQNPNJX84jV/Pq9fya1zn9G3iGQpacVsk ptN2Qo6uerQ3OV5/AM3vaKEZfR117upgX/DXBYVJRdERJrlUzJ6M3vnbi4DgsgOhSBctmI R0dLNcoVC3udrntgg8EIPGOX8OtYRUup6WtBAi5y6ozryANDy7PXiqaMxF4krQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677111368; a=rsa-sha256; cv=none; b=XfwMW9xxdi7MDsZAENmfhjhCT6HTZmKFIvlq/279NmPQUAxlKL/cyzs88+21idDHMbaZGF f3foK93nG9dNOq3J5Yy3y9Rif5A8EkHDHVy62xAytpSJZqMpaFmvzsq6L2unrtQI2wSsc+ f9AEiuZczCJfcOxeJiOgrKga8xJ0HAU9aiPGGwN88a8hunCv/Zw3iRdSrAYHfJDo8mv5f5 zeML9EIy55TRXmQfBb+126UGgdX67c7O3K+U7nqlK+++xe17EG06Z2sUtOjCwEbWNncGYt uElvszFWzE+bjE62kt1k5B4vgwa8lMtIOMSFv8893denkhMtmtyWerctdljTdQ== 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 4PMYTh3cffzMJQ for ; Thu, 23 Feb 2023 00:16: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 31N0G8dw020259 for ; Thu, 23 Feb 2023 00:16:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31N0G8rR020258 for bugs@FreeBSD.org; Thu, 23 Feb 2023 00:16: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 269688] memalign() produces division by zero if size is 0 Date: Thu, 23 Feb 2023 00:16:08 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269688 --- Comment #4 from Ed Maste --- In `p =3D memalign(0, 100);` align is 0 and size is 100. --=20 You are receiving this mail because: You are the assignee for the bug.=