summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/ifdtool/ifdtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index e2fd0abd1b..fab034ade4 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -265,7 +265,7 @@ static int get_ifd_version_from_fcba(char *image, int size)
const fcba_t *fcba = find_fcba(image, size);
const fdbar_t *fdb = find_fd(image, size);
const fpsba_t *fpsba = find_fpsba(image, size);
- if (!fcba || !fdb)
+ if (!fcba || !fdb || !fpsba)
exit(EXIT_FAILURE);
chipset = guess_ich_chipset(fdb, fpsba);