mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed a possible buffer overflow while in finishshape()
This commit is contained in:
		| @@ -121,7 +121,7 @@ void geometry_information::finishshape() { | ||||
|   if(DIM == 3) { | ||||
|     using namespace hyperpoint_vec; | ||||
|     last->intester = Hypc; | ||||
|     for(int i=last->s; i<=last->e; i++) last->intester += hpc[i]; | ||||
|     for(int i=last->s; i<last->e; i++) last->intester += hpc[i]; | ||||
|     if(last->s != last->e) last->intester /= last->e-last->s; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue