Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753402AbcKJFYV (ORCPT ); Thu, 10 Nov 2016 00:24:21 -0500 Received: from mail-pf0-f180.google.com ([209.85.192.180]:36630 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873AbcKJFYT (ORCPT ); Thu, 10 Nov 2016 00:24:19 -0500 From: Wu-Cheng Li To: pawel@osciak.com, tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com, mchehab@kernel.org, matthias.bgg@gmail.com, djkurtz@chromium.org, dan.carpenter@oracle.com Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Wu-Cheng Li Subject: [PATCH v1] mtk-vcodec: add index check in decoder vidioc_qbuf Date: Thu, 10 Nov 2016 13:24:04 +0800 Message-Id: <1478755445-23494-1-git-send-email-wuchengli@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 298 Lines: 12 From: Wu-Cheng Li This patch adds a buffer index check in decoder vidioc_qbuf. Wu-Cheng Li (1): mtk-vcodec: add index check in decoder vidioc_qbuf. drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.8.0.rc3.226.g39d4020