From nobody Fri Oct 11 12:43:15 2024 X-Original-To: net@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 4XQ5rh2sfRz5YqNm for ; Fri, 11 Oct 2024 12:43:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQ5rh1k9zz4WNF for ; Fri, 11 Oct 2024 12:43:16 +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=1728650596; 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=KpXNzG3yBNUBQbRUHh6iNBodFDFT1Y5xYp8j3QHiOUA=; b=r76a3dodEkUfNU01ubev7wkQkauG7JvaZirDPrLhVQgeTaZELLeiY6sAE+jZW8xabeVCqM RRPB8/xV0lukqJ/O5g814usbRfKpG2Zj1jcpLiMgD7JoICOMvvtyUAZlSO8v8aOLeaWlrf D09uLDpS0fkwAmmDglhU9OvjSkxguAAc/5jg8AtMHsIUh0qOYjr7SFOSO0o/2SL4JGFoHW 0fp+Mv5MCg2yo+2PybY+bL1Aabe8o6jrOjl5u0akbFz/YQELMTvV+vabtY6+7B8TyzwVNc wkMJFed/lQkdHLMwlodGxTt/dbnjW62i79Bk0C+mBY+M/mN77wlOufgJ4XOp+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728650596; a=rsa-sha256; cv=none; b=BbFR+caGKCJmXg/nz/JZ2g7+wPPfDdA4Y32c8Fl+51pvWF3t1l16EmEX0wLvTHC1fDoMGq 05WDwCCbfcOl+TRSVLLyQnlaRvAZRKAhwNj85g+KZCpT2IjqxntYUvcenyhlhXTMnC4tar 9txpEKuCfVXy3LNln+L3Ib6NGxDcBFWB0dNX3GdcUlRpPK7aW69wdXvbpL1Ph+PoEr/sde Ql5M9xWVXZBmFYRsRgfVoKENFt/kTqaZl4BpHk4Tqgs/IW8cHug/ObmO40ZvQCFLHWFl7Z W821Fvps4yBd1V9fz9B1K9rRdGBdd6tblv7sw7iwEU3Uhzy/sPPVoEjbhd+9eQ== 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 4XQ5rh1HJ7zjJR for ; Fri, 11 Oct 2024 12:43:16 +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 49BChG5p085962 for ; Fri, 11 Oct 2024 12:43:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49BChG1N085961 for net@FreeBSD.org; Fri, 11 Oct 2024 12:43:16 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: net@FreeBSD.org Subject: [Bug 281938] [PATCH] Make sure max_len is not 0 before using it as modulo Date: Fri, 11 Oct 2024 12:43:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281938 --- Comment #6 from Mark Johnston --- (In reply to Michael Tuexen from comment #5) Sure, I don't see any reason not to, if you're already looking at it. Than= ks in advance. --=20 You are receiving this mail because: You are the assignee for the bug.=