diff options
author | 2012-07-11 13:24:29 +0000 | |
---|---|---|
committer | 2012-07-11 13:24:29 +0000 | |
commit | 0f467ca7ff003ed03f3b878f81b1bd60211bc1cb (patch) | |
tree | b9ca56e4439cbfad4823eec635770cec1e214b23 /lib/libc | |
parent | no need to trace libtool when executing an external command fails. (diff) | |
download | wireguard-openbsd-0f467ca7ff003ed03f3b878f81b1bd60211bc1cb.tar.xz wireguard-openbsd-0f467ca7ff003ed03f3b878f81b1bd60211bc1cb.zip |
MBR can't handle the truth.
When reading disk size/geometry from disklabel, clamp disk size to
the maximum number of cylinders that fit into UINT32_MAX sectors.
Don't just use the bottom 32 bits of the DL_GETDSIZE(). Warn that
truncation has been done.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions