https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202326

--- Comment #5 from Ed Schouten <[email protected]> ---
That's a good point. I was merely focussing on cases where short is 16 bits and
integers are >= 32 bits.

Do you think using something like `UINT_MAX / k` is a better idea? If we were
to pick k == 100, the possible value would top out at approximately `UINT_MAX /
10` and I think it would be pretty safe to perform arithmetic on that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to