You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/utvideodec: fix possible write past end of array
This commit is contained in:
		| @@ -985,7 +985,7 @@ static av_cold int decode_init(AVCodecContext *avctx) | ||||
|         return AVERROR_INVALIDDATA; | ||||
|     } | ||||
|  | ||||
|     c->buffer = av_calloc(avctx->width, c->pro?2:1); | ||||
|     c->buffer = av_calloc(avctx->width + 8, c->pro?2:1); | ||||
|     if (!c->buffer) | ||||
|         return AVERROR(ENOMEM); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user