mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-19 07:22:14 +08:00
* mmap.cc (is_mmapped_region): Call LIST_UNLOCK on premature return.
This commit is contained in:
parent
7810aa7cdb
commit
9158bb1128
@ -1,3 +1,7 @@
|
|||||||
|
2013-04-05 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* mmap.cc (is_mmapped_region): Call LIST_UNLOCK on premature return.
|
||||||
|
|
||||||
2013-04-03 Corinna Vinschen <corinna@vinschen.de>
|
2013-04-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_proc.cc (format_proc_loadavg): Raise too small buffer size
|
* fhandler_proc.cc (format_proc_loadavg): Raise too small buffer size
|
||||||
|
@ -672,7 +672,10 @@ is_mmapped_region (caddr_t start_addr, caddr_t end_address)
|
|||||||
mmap_list *map_list = mmapped_areas.get_list_by_fd (-1, NULL);
|
mmap_list *map_list = mmapped_areas.get_list_by_fd (-1, NULL);
|
||||||
|
|
||||||
if (!map_list)
|
if (!map_list)
|
||||||
return false;
|
{
|
||||||
|
LIST_UNLOCK ();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
mmap_record *rec;
|
mmap_record *rec;
|
||||||
caddr_t u_addr;
|
caddr_t u_addr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user