summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr_resolver.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-07-11 13:24:29 +0000
committerkrw <krw@openbsd.org>2012-07-11 13:24:29 +0000
commit0f467ca7ff003ed03f3b878f81b1bd60211bc1cb (patch)
treeb9ca56e4439cbfad4823eec635770cec1e214b23 /lib/libc/asr/asr_resolver.c
parentno need to trace libtool when executing an external command fails. (diff)
downloadwireguard-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/asr/asr_resolver.c')
0 files changed, 0 insertions, 0 deletions