DragonFlyBSD Kernel Audit
DF-0853 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/vfs/isofs/cd9660/cd9660_vfsops.c b/sys/vfs/isofs/cd9660/cd9660_vfsops.c
--- a/sys/vfs/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/vfs/isofs/cd9660/cd9660_vfsops.c
@@ -338,7 +338,8 @@
 				goto out;
 			} else
 				high_sierra = 1;
-		}
+		} else
+			high_sierra = 0;
 		switch (isonum_711 (high_sierra? vdp->type_sierra: vdp->type)){
 		case ISO_VD_PRIMARY:
 			if (pribp == NULL) {