Revert "kernel: deny unexpected offset value for signing check"
This reverts commit 97ee114aa5.
This commit is contained in:
@@ -264,12 +264,7 @@ static __always_inline bool check_v2_signature(char *path,
|
|||||||
pr_info("Unknown singature block id: 0x%08x\n", id);
|
pr_info("Unknown singature block id: 0x%08x\n", id);
|
||||||
goto clean;
|
goto clean;
|
||||||
}
|
}
|
||||||
u64 next = size8 - offset;
|
pos += (size8 - offset);
|
||||||
if (next == 0) {
|
|
||||||
pr_warn("Unexpeced offset value!\n");
|
|
||||||
goto clean;
|
|
||||||
}
|
|
||||||
pos += next;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (v2_signing_blocks != 1) {
|
if (v2_signing_blocks != 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user