mirror of
				https://github.com/open5gs/open5gs.git
				synced 2025-11-04 05:53:18 +00:00 
			
		
		
		
	[AUSF] Check length of SUCI_or_SUPI before trying to process (#3742)
* Check length of supi/suci * check all the things
This commit is contained in:
		@@ -135,7 +135,8 @@ void ausf_state_operational(ogs_fsm_t *s, ausf_event_t *e)
 | 
			
		||||
            SWITCH(message.h.method)
 | 
			
		||||
            CASE(OGS_SBI_HTTP_METHOD_POST)
 | 
			
		||||
                if (message.AuthenticationInfo &&
 | 
			
		||||
                    message.AuthenticationInfo->supi_or_suci) {
 | 
			
		||||
                    message.AuthenticationInfo->supi_or_suci &&
 | 
			
		||||
                    strlen(message.AuthenticationInfo->supi_or_suci)) {
 | 
			
		||||
                    ausf_ue = ausf_ue_find_by_suci_or_supi(
 | 
			
		||||
                            message.AuthenticationInfo->supi_or_suci);
 | 
			
		||||
                    if (!ausf_ue) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user