check return length
This commit is contained in:
		 Love Hornquist Astrand
					Love Hornquist Astrand
				
			
				
					committed by
					
						 Love Hörnquist Åstrand
						Love Hörnquist Åstrand
					
				
			
			
				
	
			
			
			 Love Hörnquist Åstrand
						Love Hörnquist Åstrand
					
				
			
						parent
						
							9a21fddb70
						
					
				
				
					commit
					b8c168e565
				
			| @@ -1481,6 +1481,7 @@ add_enc_pa_rep(kdc_request_t r) | ||||
|     free_Checksum(&checksum); | ||||
|     if (ret) | ||||
| 	return ret; | ||||
|     heim_assert(cdata.length == len, "ASN.1 internal error"); | ||||
|  | ||||
|     if (r->ek.encrypted_pa_data == NULL) { | ||||
| 	ALLOC(r->ek.encrypted_pa_data); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user