summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/utils.h
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2014-05-05 15:59:31 +0000
committertruckman <truckman@FreeBSD.org>2014-05-05 15:59:31 +0000
commitc163eb4b72ccdf316e1f9e38ad2eeef0b39028a9 (patch)
treeedd80cf263d2dfc52be0d718183dd901941fbeeb /lib/libc/regex/utils.h
parent6df58573ce70c6790c4e1ab6c8d99197201097cd (diff)
downloadFreeBSD-src-c163eb4b72ccdf316e1f9e38ad2eeef0b39028a9.zip
FreeBSD-src-c163eb4b72ccdf316e1f9e38ad2eeef0b39028a9.tar.gz
Avoid unsigned integer overflow which can cause
rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the first viable region is found. Add a comment to explain the search termination test. PR: kern/188534 Reviewed by: jhb (previous version) MFC after: 1 week
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud