[Bug 281938] [PATCH] Make sure max_len is not 0 before using it as modulo

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Oct 2024 22:28:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281938

--- Comment #3 from nakayamakenjiro@gmail.com ---
Thank you for taking a look at this.
No, I haven’t observed a panic. However, I thought it might be possible to
intentionally create a situation where the “bogus option length values are
passed” you mentioned, so I submitted the patch.
(If my concerns seem unwarranted, feel free to close the issue without
incorporating the patch.)

-- 
You are receiving this mail because:
You are the assignee for the bug.