Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107384990
D33030.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
343 B
Referenced Files
None
Subscribers
None
D33030.diff
View Options
diff --git a/sys/fs/ext2fs/ext2_extents.c b/sys/fs/ext2fs/ext2_extents.c
--- a/sys/fs/ext2fs/ext2_extents.c
+++ b/sys/fs/ext2fs/ext2_extents.c
@@ -297,6 +297,10 @@
error_msg = "header: invalid eh_entries";
goto corrupted;
}
+ if (eh->eh_depth > 5) {
+ error_msg = "header: invalid eh_depth";
+ goto corrupted;
+ }
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 9:41 AM (14 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15793095
Default Alt Text
D33030.diff (343 B)
Attached To
Mode
D33030: ext2fs: check for eh_depth in ext4_ext_check_header()
Attached
Detach File
Event Timeline
Log In to Comment