summaryrefslogtreecommitdiffstats
path: root/lib/libcam
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2010-08-15 14:50:03 +0000
committerdes <des@FreeBSD.org>2010-08-15 14:50:03 +0000
commit19384270153e149e4f9311215e1b718796d9939d (patch)
tree5043050aaa7dea46b8b9ec4ef1ce38eaf8ef9151 /lib/libcam
parent03b315a9cab9b643c7ce8e5b999b12289c73bfdf (diff)
downloadFreeBSD-src-19384270153e149e4f9311215e1b718796d9939d.zip
FreeBSD-src-19384270153e149e4f9311215e1b718796d9939d.tar.gz
Fix the overflow test. It is possible for the result of an
overflowing shift to be larger than the original value, e.g. (uint64_t)1 << 53 = 0x20000000000000 ((uint64_t)1 << 53) << 10 = 0x8000000000000000
Diffstat (limited to 'lib/libcam')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud