bug fix: don't assume that frame->next is zeroed before mbus_parse is called
This commit is contained in:
		@@ -2489,6 +2489,8 @@ mbus_parse(mbus_frame *frame, unsigned char *data, size_t data_size)
 | 
			
		||||
    
 | 
			
		||||
    if (frame && data && data_size > 0)
 | 
			
		||||
    {
 | 
			
		||||
        frame->next = NULL;
 | 
			
		||||
        
 | 
			
		||||
        if (parse_debug) 
 | 
			
		||||
            printf("%s: Attempting to parse binary data [size = %zu]\n", __PRETTY_FUNCTION__, data_size);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user