Skip to content

Commit 990de9d

Browse files
In theory this should fix pipline.
1 parent e62f38e commit 990de9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythril/src/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub fn load_linux(
8585
let magic = LittleEndian::read_u32(&kernel[offsets::HEADER_MAGIC]);
8686

8787
// HdrS
88-
if magic != 0x53726448 {
88+
if magic != HEADER_MAGIC_VALUE {
8989
error!("Invalid kernel image (bad magic = 0x{:x})", magic);
9090
return Err(Error::InvalidValue);
9191
}

0 commit comments

Comments
 (0)