diff options
author | Ken Brown <kbrown@cornell.edu> | 2024-12-18 11:43:09 -0500 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2024-12-19 10:40:18 -0500 |
commit | 67bef16f7edf8642366ff55399bf9cf007c66d52 (patch) | |
tree | 8e7786e241a88f834002f93706f76736651223ab /winsup/cygwin/select.h | |
parent | 677e3150907a83f17e50d546f79b7ca863ebd77d (diff) | |
download | newlib-67bef16f7edf8642366ff55399bf9cf007c66d52.zip newlib-67bef16f7edf8642366ff55399bf9cf007c66d52.tar.gz newlib-67bef16f7edf8642366ff55399bf9cf007c66d52.tar.bz2 |
Cygwin: mmap_list::try_map: fix a condition in a test of an mmap request
In testing whether the requested area is contained in an existing
mapped region, an incorrect condition was used due to a
misinterpretation of the u_addr and u_len variables.
Addresses: https://cygwin.com/pipermail/cygwin/2024-December/256913.html
Fixes: c68de3a262fe5 ("* mmap.cc (class mmap_record):
Declare new map_pages method with address parameter.")
Signed-off-by: Ken Brown <kbrown@cornell.edu>
Diffstat (limited to 'winsup/cygwin/select.h')
0 files changed, 0 insertions, 0 deletions