You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	url_alloc_for_protocol: fix use of uninitialized variable
Fixes CID703830 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -156,6 +156,7 @@ static int url_alloc_for_protocol (URLContext **puc, struct URLProtocol *up, | |||||||
|                     av_log(uc, AV_LOG_ERROR, "Error parsing options string %s\n", start); |                     av_log(uc, AV_LOG_ERROR, "Error parsing options string %s\n", start); | ||||||
|                     av_freep(&uc->priv_data); |                     av_freep(&uc->priv_data); | ||||||
|                     av_freep(&uc); |                     av_freep(&uc); | ||||||
|  |                     err = AVERROR(EINVAL); | ||||||
|                     goto fail; |                     goto fail; | ||||||
|                 } |                 } | ||||||
|                 memmove(start, key+1, strlen(key)); |                 memmove(start, key+1, strlen(key)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user