From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1B4A92112294F for ; Wed, 10 Oct 2018 23:57:28 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2018 23:57:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,367,1534834800"; d="scan'208";a="240389546" Received: from shwde7172.ccr.corp.intel.com ([10.239.158.23]) by orsmga004.jf.intel.com with ESMTP; 10 Oct 2018 23:57:27 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Thu, 11 Oct 2018 14:56:59 +0800 Message-Id: <1539241023-2864-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch 0/4] MdeModulePkg/RegularExpressionDxe: Miss null pointer check X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2018 06:57:28 -0000 Some check are the real issues. Some are for pass static analysis. Dongao Guo (4): MdeModulePkg/RegularExpressionDxe: Miss null pointer check MdeModulePkg/RegularExpressionDxe: Miss null pointer check MdeModulePkg/RegularExpressionDxe: Miss null pointer check MdeModulePkg/RegularExpressionDxe: Add null pointer check .../RegularExpressionDxe/Oniguruma/regcomp.c | 8 +++- .../RegularExpressionDxe/Oniguruma/regenc.h | 2 +- .../RegularExpressionDxe/Oniguruma/regexec.c | 31 ++++++++++++-- .../RegularExpressionDxe/Oniguruma/regparse.c | 49 ++++++++++++++++++++-- .../RegularExpressionDxe/Oniguruma/unicode.c | 4 ++ 5 files changed, 85 insertions(+), 9 deletions(-) -- 2.10.0.windows.1