From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 DC59981C93 for ; Wed, 9 Nov 2016 20:22:21 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 09 Nov 2016 20:22:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,616,1473145200"; d="scan'208";a="784684310" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.34]) by FMSMGA003.fm.intel.com with ESMTP; 09 Nov 2016 20:22:23 -0800 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Liming Gao , Yonghong Zhu Date: Thu, 10 Nov 2016 12:22:16 +0800 Message-Id: <1478751738-16372-1-git-send-email-hao.a.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.0 Subject: [PATCH 0/2] Handle input file of size 0 for GenFfs/GenSec tools X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 04:22:22 -0000 The series enhances the logic in GenFfs and GenSec tool to handle input file of size 0 properly. Cc: Liming Gao Cc: Yonghong Zhu Hao Wu (2): BaseTools/GenFfs: Fix return too early when input file is of size 0 BaseTools/GenSec: Return correct status when input file size is 0 BaseTools/Source/C/GenFfs/GenFfs.c | 11 +++++++++-- BaseTools/Source/C/GenSec/GenSec.c | 16 +++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) -- 1.9.5.msysgit.0