From patchwork Tue Jun 27 10:23:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anastasia Belova X-Patchwork-Id: 13294333 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A40E2EB64DD for ; Tue, 27 Jun 2023 10:25:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231938AbjF0KZq (ORCPT ); Tue, 27 Jun 2023 06:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232202AbjF0KZL (ORCPT ); Tue, 27 Jun 2023 06:25:11 -0400 Received: from mail.astralinux.ru (mail.astralinux.ru [217.74.38.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4F6C2968; Tue, 27 Jun 2023 03:23:50 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.astralinux.ru (Postfix) with ESMTP id CA37D186675E; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) Received: from mail.astralinux.ru ([127.0.0.1]) by localhost (rbta-msk-vsrv-mail01.astralinux.ru [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id i0vgddjJrO1C; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.astralinux.ru (Postfix) with ESMTP id 7DF631865F57; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) X-Virus-Scanned: amavisd-new at astralinux.ru Received: from mail.astralinux.ru ([127.0.0.1]) by localhost (rbta-msk-vsrv-mail01.astralinux.ru [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dqY1wNlJLr1V; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) Received: from anastasia-huawei.. (unknown [89.222.134.55]) by mail.astralinux.ru (Postfix) with ESMTPSA id 683C71865B39; Tue, 27 Jun 2023 13:23:44 +0300 (MSK) From: Anastasia Belova To: stable@vger.kernel.org, Greg Kroah-Hartman Cc: Anastasia Belova , Mauro Carvalho Chehab , Sakari Ailus , Xiaomeng Tong , Tsuchiya Yuto , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: [PATCH 5.10 0/1] media: atomisp: fix "variable dereferenced before check 'asd'" Date: Tue, 27 Jun 2023 13:23:33 +0300 Message-Id: <20230627102334.18781-1-abelova@astralinux.ru> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The variable 'asd', which may be NULL, is dereferenced before check. The problem has been fixed by the following patch which can be cleanly applied to the 5.10 branch. Found by Linux Verification Center (linuxtesting.org) with SVACE.