diff options
author | truckman <truckman@FreeBSD.org> | 2014-05-05 15:59:31 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2014-05-05 15:59:31 +0000 |
commit | c163eb4b72ccdf316e1f9e38ad2eeef0b39028a9 (patch) | |
tree | edd80cf263d2dfc52be0d718183dd901941fbeeb /lib/libc/regex/utils.h | |
parent | 6df58573ce70c6790c4e1ab6c8d99197201097cd (diff) | |
download | FreeBSD-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