mirror of
https://github.com/encounter/object.git
synced 2026-03-30 11:32:22 -07:00
Check for LEDATA/LIDATA before FIXUPP/FIXUPP32
This commit is contained in:
@@ -487,6 +487,10 @@ impl<'data, R: ReadRef<'data>> OmfFile<'data, R> {
|
||||
&mut frame_threads,
|
||||
&mut target_threads,
|
||||
)?;
|
||||
} else {
|
||||
return Err(Error(
|
||||
"FIXUPP/FIXUPP32 record encountered without preceding LEDATA/LIDATA",
|
||||
));
|
||||
}
|
||||
}
|
||||
omf::record_type::MODEND | omf::record_type::MODEND32 => {
|
||||
|
||||
Reference in New Issue
Block a user