For large values of sb_max or MCLBYTES, it was possible for the expression
sb_max * MCLBYTES / (MSIZE + MCLBYTES)
used in sbreserve() to overflow, causing all socket creation attempts
to fail. Force the calculation to use u_quad_t's, which makes overflow
less likely.
Description
Description
Details
Details
- Provenance
wollman Authored on Feb 13 1997, 6:05 PM - Parents
- rG8c21e889fd5a: Add motd(5).
- Branches
- Unknown
- Tags