refactor: deconsolidate redox.patch into individual patches
The 556MB monolithic redox.patch was impossible to manage, unreviewable, blocked GitHub pushes, and could only grow. This commit: - Moves all 64 absorbed patches from absorbed/ to active use in base/ - Removes the absorbed/ directory (consolidation history is now PATCH-HISTORY.md) - Removes the redox.patch symlink from recipes/core/base/ - Fixes all recipe symlinks to point to active patches (not absorbed/) - Patches are now individually wired, reviewable, and independently rebasable The redox.patch mega-file is no longer needed — individual patches are applied directly from the recipe.toml patches list.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
diff --git a/drivers/acpid/src/acpi/dmar/mod.rs b/drivers/acpid/src/acpi/dmar/mod.rs
|
||||
--- a/drivers/acpid/src/acpi/dmar/mod.rs
|
||||
+++ b/drivers/acpid/src/acpi/dmar/mod.rs
|
||||
@@ -475,8 +475,12 @@ impl<'sdt> Iterator for DmarRawIter<'sdt> {
|
||||
.expect("expected a 2-byte slice to be convertible to [u8; 2]");
|
||||
|
||||
- let ty = u16::from_ne_bytes(type_bytes);
|
||||
- let len = u16::from_ne_bytes(len_bytes);
|
||||
+ let len = u16::from_ne_bytes(len_bytes) as usize;
|
||||
+
|
||||
+ if len < 4 {
|
||||
+ return None;
|
||||
+ }
|
||||
+
|
||||
+ let ty = u16::from_ne_bytes(type_bytes);
|
||||
|
||||
- let len = usize::try_from(len).expect("expected u16 to fit within usize");
|
||||
|
||||
if len > remainder.len() {
|
||||
Reference in New Issue
Block a user