forked from eden-emu/eden
		
	Fix address space allocator slow path to avoid OOB
This commit is contained in:
		
							parent
							
								
									8be489f752
								
							
						
					
					
						commit
						ac49a29b85
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -336,7 +336,7 @@ ALLOC_MEMBER(VaType)::Allocate(VaType size) { | ||||||
|             ASSERT_MSG(false, "Unexpected allocator state!"); |             ASSERT_MSG(false, "Unexpected allocator state!"); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         auto search_predecessor{this->blocks.begin()}; |         auto search_predecessor{std::next(this->blocks.begin())}; | ||||||
|         auto search_successor{std::next(search_predecessor)}; |         auto search_successor{std::next(search_predecessor)}; | ||||||
| 
 | 
 | ||||||
|         while (search_successor != this->blocks.end() && |         while (search_successor != this->blocks.end() && | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kelebek1
						Kelebek1