From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 289D846EC4 for ; Sun, 16 Jul 2023 14:39:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F285E68C5E8; Sun, 16 Jul 2023 17:39:05 +0300 (EEST) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 555F968C513 for ; Sun, 16 Jul 2023 17:38:59 +0300 (EEST) Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-6b9cf17f69cso530445a34.0 for ; Sun, 16 Jul 2023 07:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689518337; x=1692110337; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CoeBnr2P3sYrE2gyLXYBy3fql58X4AIz8N9yNcFB1R4=; b=etuQP6N00HIZYXoa5sXT6NNpHtOVKBtHbzC+wu+Bd3qCyXtth1kk/3oEvgAjZyjgTm WnhwmCXqHQv2fmpP7anUfERggFRJpUR0B3G5cHl/hjH99CcPNTbfuP4PoKtj0BIpIJ+B mey3EJ3OLoZQGLnIdPkaO+JgDODVa6U41AvqB+FWP56dG6XTLfgu5cw40rqDkYw/2N+/ 0k32WeFfLDCMojnLTbh0ArMYj+aUn1PyKbpZtH5KQ6X8Bf6rSkGUoPmDUuaVHkX6099e GIxh+dWT/rlGwQwaV95Bl7lvxhWNvTQLskpO4Gqn7H/4lAWJNUZZmR297i6EmJmoM1+5 J81A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689518337; x=1692110337; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CoeBnr2P3sYrE2gyLXYBy3fql58X4AIz8N9yNcFB1R4=; b=HsS3YhcZq4EcRRR+IjUnx+wx9AIfs3GUojf0wcWJmZpcey3Wy2dStL/QcwnFvdA1ME Dm1j1B+M6PpetgYH/4HbVutv2J5Kt0WFZKFph00Pb+i1bxiXMb80JIBPPbhkAwCSKKHz 3wShz+zcfN4sB9aZBfvVJzFGPb0sW34GeU1qfSHmtq3leZJFkTBx/hJKaOlxXt+lkcfo J/FlzccIKsqlAbZPR/gAyL5N77WOWonIPrpYND6UkEO1Do3zAOBjrIEaPo6hzexF5luS MHNCcGqmz1lCgtwAbNieN8k6CQFGMn4pjdLRBnovORzCsyKAiw2A9dRoKcKhpJHV11pm yMEQ== X-Gm-Message-State: ABy/qLZXd0N/GZwL8yCzxaleScj5j+cE1WYAfCBWRW8aq2DmmBPXurA6 71kpx5p6CvgriNCcj+7QxwGuKE04ybM= X-Google-Smtp-Source: APBJJlE1oiyNbEPuQeGl4anKuke+Wt+Uc0kiJ0EUJn4zKXwA34TgbcZ8amzuF+PYwaRlLvZm6+b+9Q== X-Received: by 2002:a05:6830:22fa:b0:6b9:b931:55ec with SMTP id t26-20020a05683022fa00b006b9b93155ecmr4734548otc.7.1689518337371; Sun, 16 Jul 2023 07:38:57 -0700 (PDT) Received: from [192.168.0.16] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id e10-20020a9d730a000000b006b8b1422daasm5699945otk.3.2023.07.16.07.38.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Jul 2023 07:38:57 -0700 (PDT) Message-ID: <956ef24f-7efc-8354-2b55-3c0363d8dc6a@gmail.com> Date: Sun, 16 Jul 2023 11:39:04 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 1/3] avcodec/evc_ps: Fix size of tile_(row|column) arrays 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 7/16/2023 11:22 AM, Andreas Rheinhardt wrote: > Prevents out-of-bound writes when parsing tile row heights. > Fixes Coverity issue #1538300. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/evc_ps.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/evc_ps.h b/libavcodec/evc_ps.h > index 0bbec1f138..336953b176 100644 > --- a/libavcodec/evc_ps.h > +++ b/libavcodec/evc_ps.h > @@ -192,8 +192,8 @@ typedef struct EVCParserPPS { > uint32_t num_tile_columns_minus1; // ue(v) > uint32_t num_tile_rows_minus1; // ue(v) > uint8_t uniform_tile_spacing_flag; // u(1) > - uint32_t tile_column_width_minus1[EVC_MAX_TILE_ROWS]; // ue(v) > - uint32_t tile_row_height_minus1[EVC_MAX_TILE_COLUMNS]; // ue(v) > + uint32_t tile_column_width_minus1[EVC_MAX_TILE_COLUMNS]; // ue(v) > + uint32_t tile_row_height_minus1[EVC_MAX_TILE_ROWS]; // ue(v) > uint8_t loop_filter_across_tiles_enabled_flag; // u(1) > uint32_t tile_offset_len_minus1; // ue(v) > uint8_t tile_id_len_minus1; // ue(v) LGTM. _______________________________________________ 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".