Skip to content

Commit 4a2ee56

Browse files
committed
Added missing Safety comments to debugger_reload.rs in patina_dxe_core.
1 parent 685155c commit 4a2ee56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patina_dxe_core/src/debugger_reload.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ fn fixup_hob_list(
277277
}
278278

279279
let hob_size = hob_header.length as usize;
280+
// SAFETY: The hob list should be valid. The physical_hob_list address is validated above.
280281
next_hob = unsafe { next_hob.byte_add(hob_size) };
281282
}
282283
if !fixed_up_core {

0 commit comments

Comments
 (0)