summaryrefslogtreecommitdiffstats
path: root/lib/libstand/cd9660.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/cd9660.c')
-rw-r--r--lib/libstand/cd9660.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/cd9660.c b/lib/libstand/cd9660.c
index 87ef6e9..da34ab9 100644
--- a/lib/libstand/cd9660.c
+++ b/lib/libstand/cd9660.c
@@ -211,7 +211,7 @@ cd9660_open(path, f)
((char *) dp + isonum_711(dp->length));
off += isonum_711(dp->length);
}
- if (off == dsize) {
+ if (off >= dsize) {
rc = ENOENT;
goto out;
}
OpenPOWER on IntegriCloud