Message ID | 20240711233417.1896879-15-michael@niedermayer.cc |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:612c:2298:b0:482:c625:d099 with SMTP id fp24csp492424vqb; Thu, 11 Jul 2024 16:54:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVLWU0mcKVnSOu3VdI3sRXh5V+1q8XuHY6kegBT7ot+cbWQFn82gZ3m7iovZWBpaSThE7WoJ1tO+lbNi3kAWBmtkMJPBYACFlg5jw== X-Google-Smtp-Source: AGHT+IFD1PAG5ZaRyfUr23iNTM2L4fJBMQjATAkvcAkV2FaaA6bC/UW5kpMPOCMvYeou4bum1mnY X-Received: by 2002:a05:6402:1ed6:b0:57d:4fd8:db59 with SMTP id 4fb4d7f45d1cf-594b7e7ce0bmr9506935a12.0.1720742053464; Thu, 11 Jul 2024 16:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720742053; cv=none; d=google.com; s=arc-20160816; b=JN4s73rK/qWKMdkjbuInc53L8tS9xkPuMd6w8q7+AOAaOjEGYl++LOmQYnmiFq3/qK am3EdzwhqhgTnaAUhB9L5zteY3FbhVLu2Syw+s83+9kdjkwF1Zb5wZGYEW5iVolGY0Aq 8KbymOe+RGfeKQnpidOpt2jhRcbOeh4x59dbHUQa1sC357gT1kBZ6Wx2vumnGg4bhjh9 sPjokuBlH49/1A5wsPm/XhhmwfilcCALFzT9v4A0Vq5BFu4wr4urG7wtQXJa5YfUgkuq LgcMYQ3ncRPTl2HP3chxyll3xe4FwCpNAdeisM4rEELAYn1iNZIPgcsyJuFVbsxn9Fbg KWIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=RoZB0uC+0jFPvoXQgSFxg9TpTzPv+Ef/26iRkZ3l/c0=; fh=e5zN9xSzcxLA6bGo3lF+CqTbY/oLwzApV03EO/RBfgQ=; b=RaRq05CHDNM/IsojvCrE2RSn+gwrw+1efbzeNJbNjmqfpEw0SVpJmmP26jBzmKKDuc 0d0cIL4s4xWriJ6+DFsY4LnvfZU92R9gw9Cl0x/7NrU35NrmJAZWzsOGC+qnIgxIBjtu v5OcEvgJuE1QySPeLqJput5ITFKxKuJmbiq7X5mj5eKG2sCnr3Dcr3yEb/8BZZMS7PB+ A6z0AiwsgjlvL6616OOVf/cOVZcOOJprc12gpW7OwSWMscNwpzsFzz0yraz7sed9aKq0 +FMErrNnGqG1kI3PSeFaf6sbkXSxPiCSVf3IGWfb3EiFxXvZ8bf5y/jWWdXJZuyyExke W3sg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@niedermayer.cc header.s=gm1 header.b=PGM+c4ad; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 4fb4d7f45d1cf-594bdf57534si3652942a12.456.2024.07.11.16.54.13; Thu, 11 Jul 2024 16:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@niedermayer.cc header.s=gm1 header.b=PGM+c4ad; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5B88C68DB16; Fri, 12 Jul 2024 02:34:41 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 974BE68DB54 for <ffmpeg-devel@ffmpeg.org>; Fri, 12 Jul 2024 02:34:30 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id DAAB7E0004 for <ffmpeg-devel@ffmpeg.org>; Thu, 11 Jul 2024 23:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1720740870; 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: in-reply-to:in-reply-to:references:references; bh=v2ng4TF0xJqjqsBCNUOS2m0jvl5M3qtuF+VCdhi2DiQ=; b=PGM+c4adOvzC+6b/r3Q8Bn1TmdzRelikmeXOUrEuJ1E22/KfHG/sK+FwIr1BYJLpPZAVCB VPs1Pxh/fDh1Rx0g/MHuL72Ivhc6FAzdOKa7Ab8f+ZZYbA03PLjpqjGWDn5scP44ccvLB9 AW21VLS770Zelm24/YFl7hJ0cGXb57AUIhgpAx1ZvP6KO7+8peVt7wXOIdy3TqaPOZjaHG P80MgAX1kyV85Wsf+dRlaghdHU3h0zXPFy3qDtDprhWmAM6eYUlHLiYcn23UzQXXMhG246 2rIOyj4Co0xzpEXcIsqJ3OiLFM0x3h6RmaQ6yH2CYbB921KXqrEHnmgrQx+9cw== From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Date: Fri, 12 Jul 2024 01:34:09 +0200 Message-ID: <20240711233417.1896879-15-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240711233417.1896879-1-michael@niedermayer.cc> References: <20240711233417.1896879-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 15/22] avformat/ty: rec_size seems to only need 32bit X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: xB5l3gCM2MMh |
Series |
[FFmpeg-devel,01/22] avformat/asfdec_o: Check size of index object
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavformat/ty.c b/libavformat/ty.c index ac3b9071fca..f524b74badc 100644 --- a/libavformat/ty.c +++ b/libavformat/ty.c @@ -49,7 +49,7 @@ static const uint8_t ty_AC3AudioPacket[] = { 0x00, 0x00, 0x01, 0xbd }; #define CHUNK_PEEK_COUNT 3 /* number of chunks to probe */ typedef struct TyRecHdr { - int64_t rec_size; + int32_t rec_size; uint8_t ex[2]; uint8_t rec_type; uint8_t subrec_type;
May help CID1604560 Overflowed integer argument Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavformat/ty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)