Skip to content

Commit

Permalink
In theory this should fix pipline.
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-starlab committed Feb 26, 2021
1 parent e62f38e commit 990de9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythril/src/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub fn load_linux(
let magic = LittleEndian::read_u32(&kernel[offsets::HEADER_MAGIC]);

// HdrS
if magic != 0x53726448 {
if magic != HEADER_MAGIC_VALUE {
error!("Invalid kernel image (bad magic = 0x{:x})", magic);
return Err(Error::InvalidValue);
}
Expand Down

0 comments on commit 990de9d

Please sign in to comment.