From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 083A14CC5D for ; Sun, 13 Jul 2025 01:10:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E063B68F156; Sun, 13 Jul 2025 04:10:38 +0300 (EEST) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id C5D7568F43E for ; Sun, 13 Jul 2025 04:10:31 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id EA1934420D for ; Sun, 13 Jul 2025 01:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1752369031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=BhYdtaT0k8hcHt2EZvt2/1qJ438dh4M4DpmQgHNhnyQ=; b=hkH61pRO8/xZ2TsPuQFsu4gDTRsE+R5sQIqQ+MZ/8+IGQ8Ag9Uz2uZYOp+pI8hvDSQOY9r ynWxkCGt3FvGWRlTqipXIzczh5tYDFcVG1+9iFLgJIhWTItFKxV+1qmN5FwOYK/TR+SjMn 12S1jf2jKSmtGg1HfnLs3x13z/QDouR83zcTKGUeKp5w8dxb4Sx7T8fatc6sPG+oZYaBYB GcdKiQsqd43Dw4AGE/rCBnXIJ+NbHiDQ+HKljrlTrLxXpJM7liDIe1AYN5DbiSg/8pFrGV Gwnx239baWho17IbgRBjbqJt42kEdLN4evo7VNie+LmduXNlhazlUeZEnNc8Cg== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 13 Jul 2025 03:10:26 +0200 Message-ID: <20250713011030.1156550-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdegjeejvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepjeffueefffevvedthfeuvedtfeejteehieetffehteegvdduudevtdfffeejhfelnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg Subject: [FFmpeg-devel] [PATCH 1/5] avformat/flvdec: Check for EOF in AudioPacketTypeMultichannelConfig X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Fixes: Infinite loop Fixes: 427538726/clusterfuzz-testcase-minimized-ffmpeg_dem_FLV_fuzzer-6582567304495104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/flvdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index ac681954cb7..a4fa0157512 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -1715,6 +1715,9 @@ retry_duration: av_log(s, AV_LOG_DEBUG, "Set channel data from MultiChannel info.\n"); + if (avio_feof(s->pb)) + return AVERROR_EOF; + goto next_track; } } else if (stream_type == FLV_STREAM_TYPE_VIDEO) { -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".