Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166851081
D41228.id125610.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
464 B
Referenced Files
None
Subscribers
None
D41228.id125610.diff
View Options
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -336,6 +336,13 @@
goto out;
}
+ if (logical_block_size < cp->provider->sectorsize) {
+ printf("cd9660: Unsupported logical block size %u\n",
+ logical_block_size);
+ error = EINVAL;
+ goto out;
+ }
+
rootp = (struct iso_directory_record *)
(high_sierra?
pri_sierra->root_directory_record:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 2:55 AM (17 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36882979
Default Alt Text
D41228.id125610.diff (464 B)
Attached To
Mode
D41228: cd9660: Reject volumes with small logical block sizes
Attached
Detach File
Event Timeline
Log In to Comment