From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 03 Jun 2014 07:19:25 +0200 Subject: [U-Boot] [PATCH 01/11] tools: Check arguments in fit_check_sign/fit_info In-Reply-To: <1401770392-11459-2-git-send-email-sjg@chromium.org> References: <1401770392-11459-1-git-send-email-sjg@chromium.org> <1401770392-11459-2-git-send-email-sjg@chromium.org> Message-ID: <538D5ADD.8040802@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, Am 03.06.2014 06:39, schrieb Simon Glass: > These tools crash if no arguments are provided. Add checks to avoid this. > > Signed-off-by: Simon Glass > --- > > tools/fit_check_sign.c | 9 +++++++++ > tools/fit_info.c | 12 ++++++++++++ > 2 files changed, 21 insertions(+) Good catch, thanks! Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany