summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/abort.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2015-05-04 18:49:25 +0000
committerglebius <glebius@FreeBSD.org>2015-05-04 18:49:25 +0000
commitacfa1865000f67a72607322c5871a3f3195748d3 (patch)
treeac93685de0ae603551c4aabbb1104bb2af680fbc /lib/libc/stdlib/abort.c
parent5755f2166fc0a75800f6c4b41e1812730a439f92 (diff)
downloadFreeBSD-src-acfa1865000f67a72607322c5871a3f3195748d3.zip
FreeBSD-src-acfa1865000f67a72607322c5871a3f3195748d3.tar.gz
Fix arithmetical bug in vnode_pager_haspage(). The check against object size
should be done not with the number of pages in the first block, but with the overall number of pages. While here, add KASSERT that makes sure that BMAP doesn't return completely irrelevant blocks. Reviewed by: kib Tested by: pho Sponsored by: Netflix Sponsored by: Nginx, Inc.
Diffstat (limited to 'lib/libc/stdlib/abort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud