[Bug 238023] integer overflow in scsisanitize in sbin/camcontrol/camcontrol.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 21 16:09:56 UTC 2019


Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
             Status|New                         |Closed
         Resolution|---                         |Not A Bug

--- Comment #1 from Conrad Meyer <cem at 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 only
has a range of uint16_t.

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

More information about the freebsd-bugs mailing list