Date: Tue, 21 May 2019 16:09:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238023] integer overflow in scsisanitize in sbin/camcontrol/camcontrol.c Message-ID: <bug-238023-227-IVoN5Pvy3M@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238023-227@https.bugs.freebsd.org/bugzilla/> References: <bug-238023-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238023 Conrad Meyer <cem@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not A Bug --- Comment #1 from Conrad Meyer <cem@freebsd.org> --- The maximal value of scsi_2btoul() is 65535. 655350000 fits in int. Probably what isn't clear is that scsi_2btoul() returns uint32_t, when it o= nly has a range of uint16_t. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238023-227-IVoN5Pvy3M>