You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit '48d6556dd46d4f4fac10d0f4a819e314887cd50e'
* commit '48d6556dd46d4f4fac10d0f4a819e314887cd50e': dsicin: Add some basic sanity checks for fields read from the file Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -155,6 +155,8 @@ static int cin_read_frame_header(CinDemuxContext *cin, AVIOContext *pb) { | ||||
|  | ||||
|     if (avio_rl32(pb) != 0xAA55AA55) | ||||
|         return AVERROR_INVALIDDATA; | ||||
|     if (hdr->video_frame_size < 0 || hdr->audio_frame_size < 0) | ||||
|         return AVERROR_INVALIDDATA; | ||||
|  | ||||
|     return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user