summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/cd9660/cd9660_rrip.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_rrip.c b/sys/fs/cd9660/cd9660_rrip.c
index 670ca30..739972b 100644
--- a/sys/fs/cd9660/cd9660_rrip.c
+++ b/sys/fs/cd9660/cd9660_rrip.c
@@ -472,8 +472,12 @@ cd9660_rrip_extref(p,ana)
ISO_RRIP_EXTREF *p;
ISO_RRIP_ANALYZE *ana;
{
- if (isonum_711(p->len_id) != 10
- || bcmp((char *)p + 8,"RRIP_1991A",10)
+ if ( ! ((isonum_711(p->len_id) == 10
+ && bcmp((char *)p + 8,"RRIP_1991A",10) == 0)
+ || (isonum_711(p->len_id) == 10
+ && bcmp((char *)p + 8,"IEEE_P1282",10) == 0)
+ || (isonum_711(p->len_id) == 9
+ && bcmp((char *)p + 8,"IEEE_1282", 9) == 0))
|| isonum_711(p->version) != 1)
return 0;
ana->fields &= ~ISO_SUSP_EXTREF;
OpenPOWER on IntegriCloud