Guard against wrong packet types being passed into AddNewClient.
Actually, the exception handler seems to be a valid execution path here, this needs some love.0.6.0-stable
							parent
							
								
									e09ff343fb
								
							
						
					
					
						commit
						e1c6563174
					
				| 
						 | 
				
			
			@ -380,6 +380,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
 | 
			
		|||
            //Slave regions don't accept new clients
 | 
			
		||||
            if (m_localScene.Region_Status != RegionStatus.SlaveScene)
 | 
			
		||||
            {
 | 
			
		||||
				if (!(packet is UseCircuitCodePacket))
 | 
			
		||||
					return;
 | 
			
		||||
                UseCircuitCodePacket useCircuit = (UseCircuitCodePacket) packet;
 | 
			
		||||
                lock (clientCircuits)
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue